For checking the SSH keys are adding and working properly.
eval "$(ssh-agent -s)"
- Check if SSH Agent is runningssh-add ~/.ssh/private_keys
- Add the Keys to SSH Agent (can add multiple keys at once)ssh-add -l
- Verify Keys Added to SSH Agentssh-copy-id user@remote.server.location
- Copy Key to Remote Serverssh-copy-id user@host.local
- Copy Server Key to Host