Skip to content

Instantly share code, notes, and snippets.

@habibun
Last active May 6, 2020 16:39
Show Gist options
  • Save habibun/75a0843c36165d6d60c63b33f7aecb35 to your computer and use it in GitHub Desktop.
Save habibun/75a0843c36165d6d60c63b33f7aecb35 to your computer and use it in GitHub Desktop.
ssh alias ubuntu in .ssh/config
run cmd: ssh-copy-id -p port root@host
Host a
HostName x.x.x.x
User root
Port 22
Host b
HostName x.x.x.x
User root
Port 22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment