Created
April 22, 2016 08:59
-
-
Save jfengq/a42683cd57b874612a43575821514de4 to your computer and use it in GitHub Desktop.
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
//copy公钥到指定主机,以使得可以通过ssh命令登录该主机 | |
ssh-copy-id -i ~/.ssh/id_rsa.pub user@server | |
//ssh登录某主机 | |
ssh root@server |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment