In this video, we'll learn how to connect Visual Studio Code to a remote SSH server. This is so you can edit your live or staged environment files using VSCode instead of having to work locally and then have the hassle of copying over your code to the remote server. Therefore this saves a lot of time in the long run. To do so, you'll need to have Visual Studio Code application installed and you'll need to install a new extension called Remote-SSH which you can search for and install. The video further explains how to set up your SSH connection, login and edit files live on the remote server.
VSCODE Extension: Remote-SSH
SSH default port is usually: 22
This method works for SSH using passwords. If you need to learn how to connect to a server using SSH keys, please let me know in the comments below.
Please support my channel via Patreon and get exclusive items! / risharde