Improve SSH port forwarding snippet – use the actual port
My first change in Typescript – and it's not actually mine: https://chat.openai.com/share/a0dd0d25-f78c-4771-be87-46ddc14be7d3
What we have now in the "how to connect to DBLab API" snippet:
dblab init --url http://127.0.0.1:2348 --token TOKEN --environment-id xxx
ssh -NTML 2348:localhost:2345 myuser@myserver -i ~/.ssh/id_rsa
What we want:
dblab init --url http://127.0.0.1:2348 --token TOKEN --environment-id xxx
ssh -NTML 2348:localhost:2348 myuser@myserver -i ~/.ssh/id_rsa
Checklist
-
MR description has been reviewed -
MR changes are functionally tested -
MR does NOT have API/CLI changes OR there are API/CLI changes and they have been reviewed & DOCS ARE ADJUSTED (reference doc, etc) -
MR does NOT have UI changes OR there are UI changes and they have been reviewed & UX IS REVIEWED
Edited by Nikolay Samokhvalov