Open jogobeny opened 7 months ago
@jogobeny Could you share remote-ssh logs?
@jeanp413 Did you mean the official Microsoft extension? I am trying it right now, and to my bad luck, it isn't working either. Nevertheless, the port forwarding is working in the official Visual Studio Code. I thought the log would be relevant because of the received socket timeout event
, but I don't get those prints sometimes. How can I provide you with more logs about that issue?
Logs from this extension, you can get them in output panel and select Remote - SSH, if you already connected successfully to your remote machine then port forwarding should work too
There are no logs after creating the forwarding server.
[Trace - 15:07:59.626] Creating forwarding server 41403(local) => 36373(socks) => 43685(remote)
I've tried the port forwarding on localhost, and it isn't working either. It looks like it's VSCodium's error.
Edit: It may be this error https://github.com/VSCodium/vscodium/issues/1793.
It may be this error https://github.com/VSCodium/vscodium/issues/1793.
that's meant for local ports you want to expose publicly, in your case you are connecting to a remote machine and want to access the remote ports locally.
There are no logs after creating the forwarding server.
That last line is fine then, could you look for any other error in other logs like server or window?
I've looked at all outputs, and there are no more logs. Except for Window
output that is still spamming:
2024-02-15 14:25:32.655 [info] [remote-connection][ExtensionHost][fde3e…][reconnect] resolving connection...
2024-02-15 14:25:32.657 [info] [remote-connection][ExtensionHost][fde3e…][reconnect] connecting to WebSocket(127.0.0.1:45459)...
2024-02-15 14:25:32.657 [info] Creating a socket (renderer-ExtensionHost-fde3e2f3-57cd-4816-8f1b-719fe3326127)...
2024-02-15 14:25:32.811 [info] Creating a socket (renderer-ExtensionHost-fde3e2f3-57cd-4816-8f1b-719fe3326127) was successful after 156 ms.
2024-02-15 14:25:32.980 [info] [remote-connection][ExtensionHost][fde3e…][reconnect] reconnected!
2024-02-15 14:25:52.980 [info] [remote-connection][ExtensionHost][fde3e…][reconnect] received socket timeout event (unacknowledgedMsgCount: 164, timeSinceOldestUnacknowledgedMsg: 20000, timeSinceLastReceivedSomeData: 20000).
2024-02-15 14:25:53.018 [info] [remote-connection][ExtensionHost][fde3e…][reconnect] starting reconnecting loop. You can get more information with the trace log level.
but that happens even if I don't try to use port forwarding.
Here a requirement for the extension to work correctly:
sshd
config, AllowTcpForwarding
need to be set to yes
.I've added it to VSCodium's doc
Hi.
I've tried the official Remote - SSH extension, and it works.
Screencast from 2024-02-07 12-38-12.webm In the video, I've tried: mouse click to the following input field, tab key, and enter key.