...
Write the public into the .ssh/authorized_key keys of the user (in his home folder) you want to login to
Code Block |
---|
cat id_rsa.pub >> /home/bl/.ssh/authorized_keykeys |
change in /etc/ssh/sshd_config:
Code Block |
---|
PasswordAuthentication no PermitRootLogin nowithout-password |
If ssh doesn't work check the grp and own of .ssh/authorized_keys