This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Last revision Both sides next revision | ||
it_tips:ssh [2020/03/20 08:09] florido |
it_tips:ssh [2023/10/09 14:25] florido |
||
---|---|---|---|
Line 184: | Line 184: | ||
-rw-r--r-- 1 pflorido hep 751 maj 3 13:59 /nfs/users/floridop/.ssh/myid_rsa.pub | -rw-r--r-- 1 pflorido hep 751 maj 3 13:59 /nfs/users/floridop/.ssh/myid_rsa.pub | ||
</code> | </code> | ||
- | - Copy the key to the target server, say watto: Command:<code:bash>ssh-copy-id -i ~/.ssh/myid_rsa pflorido@watto.matfys.lth.se</code>Result:<code:bash> | + | - Copy the key to the target server, say watto: Command:<code:bash>ssh-copy-id -i ~/.ssh/myid_rsa.pub pflorido@watto.matfys.lth.se</code>Result:<code:bash> |
/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: 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 | /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 |