Skip to content

Instantly share code, notes, and snippets.

@washingweb
Last active June 24, 2021 07:32
Show Gist options
  • Save washingweb/82cfbeee516d32f044ee21b41df1c743 to your computer and use it in GitHub Desktop.
Save washingweb/82cfbeee516d32f044ee21b41df1c743 to your computer and use it in GitHub Desktop.
ssh config vscode
Host test4g
HostName ip.ip.ip.ip
Port 22
User root
ForwardAgent yes
IdentityFile ~/.ssh/id_rsa_xxx
@washingweb
Copy link
Author

washingweb commented Jun 24, 2021

mkdir -p ~/.ssh && chmod 700 ~/.ssh
touch ~/.ssh/config
chmod 600 ~/.ssh/config

Using the SSH Config File

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment