Saturday, April 01, 2023

ssh-copy-id

Instead of manually copying over the public key to known-hosts on the SSH server, we can use ssh-copy-id to make things simpler, to implement key-based SSH authentication.

https://www.ssh.com/academy/ssh/copy-id

ssh-copy-id -i ~/.ssh/mykey user@host 



No comments:

Post a Comment