Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
ssh-copy-id not working Permission denied (publickey).
Each time I attempt to set up my new Droplet I get stuck right here. ssh-copy-id doesn’t work and so I can’t get my new user login to work. I’ve tried some fixes and just gotten more in the weeds. It seems I’m not the only one with this problem but there are different fixes so I’m just going to copy what I’m getting here. I’ve also tried to copy the key manually like it’s mentioned in this tutorial but still no dice… Please help!
/usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: “/Users/USERNAME/.ssh/id_rsa.pub”
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed
/usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed – if you are prompted now it is to install the new keys
Permission denied (publickey).
Thanks for any help!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×