Using the Remote – SSH extension
The Remote – SSH extension allows you to open any remote folder on a remote machine where an SSH server is running. The target server should have SSH installed and the local OS should have an OpenSSH-compatible SSH client installed.
To see the system requirements for SSH for both local and remote machines, refer to the following link:
https://code.visualstudio.com/docs/remote/ssh
In this section, we will set up and install the SSH client on the Windows 10 OS and also set up the SSH server on macOS, then connect to the macOS machine through VS Code's Remote – SSH extension to modify application code.
To install the OpenSSH client on Windows, run the following PowerShell command:
Add-WindowsCapability -Online -Name OpenSSH.Client*
The preceding command needs elevated permissions to not throw an error, so run this command from PowerShell while running the latter as an administrator.
To configure an SSH...