I am using Ubuntu 18.04 LTS.
- Whenever, I
ssh-copy-idfor the first time it puts my
username@hostat the end of the authorized_keys file line as expected.
On Remote machine:
sacredos@sacredos-DT:~$ cat /home/sacredos/.ssh/auth* ssh-rsa ... sacredos@sacredos-LT
On Local machine:
sacredos@sacredos-LT:~$ ssh-add -l 4096 SHA256:... sacredos@sacredos-LT (RSA)
- When, I go to
ssh-copy-idto another computer or subsequent ones, it puts the path to the id file there instead.
On Remote machine after clearing and recopying the key over:
sacredos@sacredos-DT:~$ cat /home/sacredos/.ssh/auth* ssh-rsa ... /home/sacredos/.ssh/id_rsa
On Local machine after copying the key over again:
sacredos@sacredos-LT:~$ ssh-add -l 4096 SHA256:... /home/username/.ssh/id_rsa (RSA)
- I installed a system fresh to check that is not something I did with configs and such but it behaves the same. It also doesn't matter if it is the same machine in a cleared state or a new machine, if the key is ssh-copy-id'ed over two times or more this happens.
What is going on here?