Skip to content

Commit 6cc64b4

Browse files
committed
refactior(terminal): add port to server connect
1 parent 7046d05 commit 6cc64b4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

apps/dokploy/server/wss/terminal.ts

+2
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ export const setupTerminalWebSocketServer = (
7272
"StrictHostKeyChecking=no",
7373
"-i",
7474
privateKey,
75+
"-p",
76+
`${server.port}`,
7577
`${server.username}@${server.ipAddress}`,
7678
];
7779
const ptyProcess = spawn("ssh", sshCommand.slice(1), {

0 commit comments

Comments
 (0)