joelspadin / vscode-remote-x11

Visual Studio Code extension that sets the DISPLAY environment variable in remote workspaces
39 stars 9 forks source link

how to reset the target of ssh connection #70

Open SevenFo opened 2 years ago

SevenFo commented 2 years ago

I have connected to server in IP: 192.168.43.151 firstly, then, the IP of server changed to 192.168.2.1. However the connection target of vscode-remote-x11 always remained to 192.168.43.151 when I reconnect to this server, which means it can't automatically change to 192.168.2.1. The log of vscode-remote-x11:

Connecting to siky@192.168.43.151 port 22
Error: read ECONNRESET

How can I change the connection target of vscode-remote-x11?