Debian
- Add key:
ssh-copy-id user@ip-address
from the client computer - Edit
/etc/sshd_config
on the server - Go to the line labeled
PasswordAuthentication
and change tono
- Restart the ssh server
ssh-copy-id user@ip-address
from the client computer/etc/sshd_config
on the serverPasswordAuthentication
and change to no