Vscode

From Piszczynski
Revision as of 11:37, 11 September 2024 by Aleks (talk | contribs) (Created page with "== Connect with ssh to server == In vscode add the ssh extension and then add host to the .ssh config file usually found in the user folder Use the following syntax to add the host to the config file:<syntaxhighlight lang="bash"> Host <hostname - ip address / dns> HostName <Hostname> IdentityFile "<path to ssh key>" User <username> </syntaxhighlight>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Connect with ssh to server

In vscode add the ssh extension and then add host to the .ssh config file usually found in the user folder

Use the following syntax to add the host to the config file:

Host <hostname - ip address / dns>
  HostName <Hostname>
  IdentityFile "<path to ssh key>"
  User <username>