mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-25 21:28:47 +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