Please see https://help.ubuntu.com/community/SSH/OpenSSH/Keys
mkdir ~/.ssh
chmod 700 ~/.ssh
ssh-keygen -t rsa
sudo service ssh restart
vi .ssh/authorized_keys
Add your local id_rsa.pub to the authorized_keys.
chmod 600 ~/.ssh/authorized_keys
Luck!
mkdir ~/.ssh
chmod 700 ~/.ssh
ssh-keygen -t rsa
sudo service ssh restart
vi .ssh/authorized_keys
Add your local id_rsa.pub to the authorized_keys.
chmod 600 ~/.ssh/authorized_keys
Luck!
Комментариев нет:
Отправить комментарий