remote ssh broken with latest update?
Today, my remote ssh extension updated.
Result: I could no longer connect to a remote; a message box was shown.
Since that was for work and I was a bit stressed, I didn't take a screenshot. However, I reinstalled the last version, and the problem was gone.
Has anyone else seen that?
2
u/PradeepAIStrategist 6d ago
yes, same issue, rolled back to remote ssh extension last version working fine now
1
u/AndrewSouthern729 6d ago
yes i came into the office this AM to the same error. as others have said - rolled back to the previous version and it's working as expected.
1
1
u/pavel_pe 3d ago edited 3d ago
Also on Fedora ... seems very much like SELinux issue https://bugzilla.redhat.com/show_bug.cgi?id=2502040:
[17:48:33.679] stderr> channel 4: open failed: connect failed: open failed
[17:48:33.684] Failed to set up socket for dynamic port forward to remote port 40203: Socket closed. TCP port forwarding may be disabled, or the remote server may have crashed. See the VS Code Server log above for details.
sh
sudo journalctl -t audit -f
Aug 29 17:48:33 marten audit[1241401]: AVC avc: denied { name_connect } for pid=1241401 comm="sshd-session" dest=40203 scontext=system_u:system_r:sshd_session_t:s0-s0:c0.c1023 tcontext=system_u:object_r:ephemeral_port_t:s0 tclass=tcp_socket permissive=0
4
u/Hic20 6d ago
Yes had the same issue, I rolled back the remote ssh extension and now it works fine again.