Question

SSH Why do 4 Keys Remain to Be Installed Instead of 1?

I was following the instructions here https://www.digitalocean.com/community/tutorials/how-to-set-up-ssh-keys-on-ubuntu-20-04

to set up ssh login to my ubuntu server. Does it matter that ssh-copy-id says “ssh-copy-id: INFO: 4 key(s) remain to be installed” rather than 1 key(s) remain to be installed ?

Is there a problem if it says 4?


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Accepted Answer

Hi there @timconwell,

This should not be a problem, it just means that you have more than 1 public key stored in your .ssh folder.

To verify this, you can run the following command:

  1. ls -lah ~/.ssh

Hope that this helps! Regards, Bobby

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.