Created
December 26, 2012 03:01
-
-
Save haio/4377547 to your computer and use it in GitHub Desktop.
login remote sever via SSH
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
# ssh -p 22 root@address | |
## First | |
if the remote sever don't have your public key,you will nedd to login by put the password,the whole process should be encrypt but you may connect to the server that you are not willing to. | |
##Second | |
the second way is more safely, you need put your puiblic key in .ssh/authorized_keys of remote server,by this you just type "ssh root@address" in your commandline, it's very simple and safe. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment