Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
student:utilities:start:keypairs [2024/04/02 13:52] – Set permissions on ~/.ssh and ~/.ssh/authorized_keys morrispjstudent:utilities:start:keypairs [2024/04/03 18:11] stewarmc
Line 55: Line 55:
  AddKeysToAgent yes # https://man.openbsd.org/ssh_config#AddKeysToAgent  AddKeysToAgent yes # https://man.openbsd.org/ssh_config#AddKeysToAgent
  IdentitiesOnly yes  IdentitiesOnly yes
 +Host github
 +       HostName github.com
 +       IdentityFile /Users/tgm/.ssh/githubta
 Host stu Host stu
  HostName stu.cs.jmu.edu  HostName stu.cs.jmu.edu
Line 66: Line 69:
         # Port 23 # is typically for telnet, but people can do what they want with their servers          # Port 23 # is typically for telnet, but people can do what they want with their servers 
 </code> </code>
 +
 +Test the github one:
 +ssh -T git@github.com