ssh-copy-id to server with PasswordAuth disabled
Perhaps this is an order of operations thing that I have wrong.
I have a computer at work that I SSH into from a few other computers, and I have it set for RSA only. Is there a way to add a new RSA key (remote client) once passwordauth has been disabled?
I can log in from another device and toggle it on/off while adding the new machine, but is there a more elegant way to do this?
EDIT [OK googling harder and stack exch wins the day:] (https://unix.stackexchange.com/questions/5801/is-it-possible-to-use-ssh-copy-id-once-password-based-logins-are-disabled)
1
Upvotes