We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8c7cf6e + 3ac0a9b commit 3fb66deCopy full SHA for 3fb66de
ui/packages/shared/pages/Instance/Info/Connection/ConnectModal/Content/utils.ts
@@ -15,7 +15,9 @@ export const getSshPortForwardingCommand = (instance: Instance) => {
15
// Parse the URL to get the port
16
const url = new URL(instance.url as string)
17
const port = url.port || '2345'
18
- return `ssh -NTML ${port}:localhost:${port} ${instance.sshServerUrl} -i ~/.ssh/id_rsa`
+ // Here we hard-code the API port on the server (2345)- this is a requirement now
19
+ // for all DBLab instances working via tunnel, per decision made (NIkolayS 2024-05-22)
20
+ return `ssh -NTML ${port}:localhost:2345 ${instance.sshServerUrl} -i ~/.ssh/id_rsa`
21
} else {
22
return null
23
}
0 commit comments