55

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?

Krupal Panchal
  • 1,553
  • 2
  • 13
  • 26
Lucian Thorr
  • 1,997
  • 1
  • 21
  • 29

2 Answers2

94

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

Stella
  • 956
  • 6
  • 2
0

remove it from /.ssh/config file. Which will reflect in Visual Studio Code remote explorer.