mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
refactior(terminal): add port to server connect
This commit is contained in:
@@ -72,6 +72,8 @@ export const setupTerminalWebSocketServer = (
|
|||||||
"StrictHostKeyChecking=no",
|
"StrictHostKeyChecking=no",
|
||||||
"-i",
|
"-i",
|
||||||
privateKey,
|
privateKey,
|
||||||
|
"-p",
|
||||||
|
`${server.port}`,
|
||||||
`${server.username}@${server.ipAddress}`,
|
`${server.username}@${server.ipAddress}`,
|
||||||
];
|
];
|
||||||
const ptyProcess = spawn("ssh", sshCommand.slice(1), {
|
const ptyProcess = spawn("ssh", sshCommand.slice(1), {
|
||||||
|
|||||||
Reference in New Issue
Block a user