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

Posted August 13, 2020 496 views
Initial Server SetupUbuntu 20.04

I was following the instructions here

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?

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.

Submit an Answer
1 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:

  • ls -lah ~/.ssh

Hope that this helps!

  • Thanks. You were right about the multiple keys. I ended up deleting the entire /.ssh path and restarted (I didn’t have any keys or path until I set it up just for this process).