Ubuntu
apt-get install openssh-server
cd ~/.ssh/
ssh-keygen -t rsa
加入授权即可
cat . id_rsa.pub >> . authorized_keys
验证
ssh localhost
Ubuntu
apt-get install openssh-server
cd ~/.ssh/
ssh-keygen -t rsa
加入授权即可
cat . id_rsa.pub >> . authorized_keys
验证
ssh localhost