You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Miles Cummings edited this page Mar 3, 2024
·
3 revisions
Lab 03: Git + Linux SSH Script
Setting up passwordless SSH
First, on the client system, navigate to the .ssh folder in your user directory. If it doesn't exist, create it.
Run the command ssh-keygen -t rsa to create a new keypair on the client. Hit enter until it creates it (so basically leave everything blank)
Now, it's as easy as copying over the SSH key(s) to the server with the command ssh-copy-id user@remotehost. Test it out, and it should let you SSH into that server with no password prompt!