remote-vscode
remote-vscode copied to clipboard
Allow listening on multiple ports?
Wondering how hard would it be to allow for multiple ports to be listened to?
For example when you might need to connect more than one remote ssh server.
It would be possible to support multiple ports, but you actually don't need. Just a single port can handle connections from multiples remote ssh servers.
I tested here and I could edit files from two remote servers using the same port.
$ ssh -R 52698:127.0.0.1:52698 [email protected]
$ ssh -R 52698:127.0.0.1:52698 [email protected]