Last active
August 22, 2016 01:27
-
-
Save simonqian/d55dead621efb703e06bd00bf40d785c to your computer and use it in GitHub Desktop.
This file contains hidden or 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
1. create config | |
vi ~/.ssh/config | |
2. add content | |
Host dpy | |
User dpy | |
HostName xxx.xxx.xx.xxx | |
3. install ssh-copy-id(in mac ox) | |
brew install ssh-copy-id | |
4. add id to remote server | |
ssh-copy-id -i ~/.ssh/id_rsa.pub dpy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment