baicai

白菜

一个勤奋的代码搬运工!

Upload public key to enable SSH login

Generate Key Pair#

If it already exists, there is no need to generate it again.

$ ssh-keygen -t rsa

Upload Public Key#

$ ssh-copy-id -i ~/.ssh/id_rsa.pub [email protected]

Where root is the server user and 192.168.0.1 is the server IP. Then, enter the password as prompted.

Connect to the Server#

Connect to the server directly using SSH without entering a password.

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.