remote-vscode icon indicating copy to clipboard operation
remote-vscode copied to clipboard

Allow listening on multiple ports?

Open uniacid opened this issue 7 years ago • 1 comments

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.

uniacid avatar Jul 29 '17 19:07 uniacid

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]

rafaelmaiolla avatar Jul 29 '17 20:07 rafaelmaiolla