Saber2pr's Blog


In the past, I used to ask OPS to help add ssh, so I think it's better to sum it up myself: Log in to the server:

you can either ssh root@ip directly or use xshell

cd /root

mkdir .ssh

cd .ssh

vim authorized_keys

Then copy the public key / user/.ssh/ text into it and save it.

if you want to add multiple ssh, you can simply wrap the line and append it.


Xshell is an enhanced version of the terminal that saves sessions and authenticates logins using the ssh private key with the public key added to the server.


  1. Install / uninstall v2ray Agent
bash <(curl -s -L