Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Viewing all articles
Browse latest Browse all 97400

Remote editing through SSH tunnel using Visual Studio Code

$
0
0

I have VS Code running on my local Mac OS X. When I travel, I SSH into a server on my home wireless network using:

me@mac:~$ ssh me@home_server -p 123

Once I am successfully ssh'd into my home server, I then SSH into desktop machine using:

me@home_server:~$ ssh me@192.837.5.676 

And end up with my terminal showing:

me@home_desktop:~ $

I've been using nano to edit files when I'm traveling and working remotely on my home server, but I'd like to try to use VS Code to debug those files.

How can I set up VS Code so that I can edit and debug files on my home desktop when traveling using the ssh tunneling I just described?

Any thoughts / advice would be most appreciated. Thank you!


Viewing all articles
Browse latest Browse all 97400

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>