Skip to content

Instantly share code, notes, and snippets.

@fariswd
Created September 20, 2022 08:59
Show Gist options
  • Save fariswd/9d5678557bb41903f276516d074613bf to your computer and use it in GitHub Desktop.
Save fariswd/9d5678557bb41903f276516d074613bf to your computer and use it in GitHub Desktop.
Setup remote ssh with host alias
1. create RSA pair local /use existing
2. cat _pub - copy
3. access remote ssh using password/VNC
4. vi ~/.ssh/authorized_keys
5. paste _pub
6. exit
7. vi ~/.ssh/config
8. setup Host, HostName, User, IdentityFile
9. ssh <host_alias>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment