Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
student:utilities:start:keypairs:beginner [2025/09/09 12:23] – [Tell Github to join the party] stewarmcstudent:utilities:start:keypairs:beginner [2025/10/29 16:21] (current) – [Configure your computer's ssh client] stewarmc
Line 53: Line 53:
     AddKeysToAgent yes # https://man.openbsd.org/ssh_config#AddKeysToAgent     AddKeysToAgent yes # https://man.openbsd.org/ssh_config#AddKeysToAgent
     # IdentitiesOnly yes # I am thinking maybe I should not propose this for beginners. so it's commented out now.     # IdentitiesOnly yes # I am thinking maybe I should not propose this for beginners. so it's commented out now.
-  Host stu # by specifying the host here as "stu", you can use "stu" as a shorthand for +  Host stu  # by specifying the host here as "stu", you can use "stu" as a shorthand for 
-                   # the full hostname when connecting via ssh to the server at the HostName below+            # the full hostname when connecting via ssh to the server at the HostName below
     HostName stu.cs.jmu.edu     HostName stu.cs.jmu.edu
-    # next setting only necessary if you aren't using a default-named key like id_rsa or id_ed25519 +            # next setting only necessary if you aren't using a default-named key like id_rsa or id_ed25519 
-          # IdentityFile ~/.ssh/name-of_non_default_private_key+            # IdentityFile ~/.ssh/name-of_non_default_private_key
     User YOUR_EID_BUT_DONT_CAPITALIZE_IT # if you specify a user, you don't have to put the     User YOUR_EID_BUT_DONT_CAPITALIZE_IT # if you specify a user, you don't have to put the
-              # user@ when connecting via ssh+            # user@ when connecting via ssh
  
 ** NOTICE THE PART YOU HAVE TO REPLACE ABOVE, FOR MOST IT'S IN JUST THE LAST LINE WHERE IT SAYS "YOUR_EID" ** ** NOTICE THE PART YOU HAVE TO REPLACE ABOVE, FOR MOST IT'S IN JUST THE LAST LINE WHERE IT SAYS "YOUR_EID" **