Utopi
a

SSH

生成一个秘钥

local:

ssh-keygen -t rsa -b 4096

sever into 

cd .ssh

local:

scp id_rsa.pub root@39.99.219.77:~/.ssh/mac.pub

sever 

cat mac.pub >> authorized_keys sudo chmod 700 ~/.ssh sudo chmod 600 ~/.ssh/*

ssh-copy-id  root@39.99.219.77