This is my effective sshd setup:
I have key-based authentication set up on my SSH server, and PasswordAuthentication is set to no. It all works great. But when I need to add a new user key, I have to re-enable PasswordAuthentication so they can run ssh-copy-id. If I was doing this in a IT setting, this would be problematic.
Am I missing something?
Code:
Protocol 2
Port 22
# authentication
PermitRootLogin no
PasswordAuthentication no
PermitEmptyPasswords no
MaxAuthTries 3
I have key-based authentication set up on my SSH server, and PasswordAuthentication is set to no. It all works great. But when I need to add a new user key, I have to re-enable PasswordAuthentication so they can run ssh-copy-id. If I was doing this in a IT setting, this would be problematic.
Am I missing something?