Last active
May 6, 2020 16:39
-
-
Save habibun/75a0843c36165d6d60c63b33f7aecb35 to your computer and use it in GitHub Desktop.
ssh alias ubuntu in .ssh/config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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