Adding SSH Key To Agent
Check if SSH Agent is running
This is to add the keys to the SSH Agent
eval "$(ssh-agent -s)"
Add the Keys to SSH Agent
ssh-add ~/.ssh/nameofkey
Verify Keys Added to SSH Agent
ssh-add -l
Copy Key to Remote Server
ssh-copy-id user@remote.server.location
Copy Server Key to Host
ssh-copy-id user@host.local
If you enjoyed or found any of the content on my site helpful, you can buy me a cup of coffee so I can continue to bring you amazing content for free!