How do you edit files over SSH?

后端 未结 17 2039
没有蜡笔的小新
没有蜡笔的小新 2021-01-29 18:44

I program with eclipse and sometimes use GUI text editors like SciTE or vim. However, I\'m at a point in a project that requires me to edit files over a ssh connection in a 80 c

17条回答
  •  你的背包
    2021-01-29 19:28

    Since sshfs is not supported in WSL at the moment, the tool that worked for me is sshfs-win.

    Installation Steps

    1. Go here and click "download winfsp"
    2. Install it
    3. Go here and download the installer
    4. Install it
    5. Open windows explorer and right-click "This PC" > "Map Network Drive..."
    6. Select a drive letter (B:), type in "\\sshfs\debian@10.13.100.36" and click Finish
    7. Boom, done. Now you can have a B: drive on your computer and just do whatever with those files. Open them with VSCode, delete them, whatever you like

提交回复
热议问题