Search code examples
sshvisual-studio-codevscode-remote

How do we remove ssh targets from Remote Explorer


The Remote Explorer sidebar has an obvious icon for adding new targets but I can't find an option for removing or editing a target. In my case, servers' IPs change frequently so they just continue to add up in the sidebar with now way of cleaning it up.

Are the targets stored in a file somewhere that I can manually edit?


Solution

  • You can remove or edit it by editing .ssh/config file. Hope this helps.