Skip to content

Commit

Permalink
Added example for Github
Browse files Browse the repository at this point in the history
  • Loading branch information
vcalderon2009 committed Feb 5, 2018
1 parent 4f7a7e5 commit a8f543c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/source/mac_101.rst
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,14 @@ Your :code:`~/.ssh/config` file should look something like this now:
AddKeysToAgent yes
UseKeychain yes
## Connects to Github
Host github.com
HostName github.com
User git
IdentityFile ~/.ssh/ssh_keys/github_key
IdentitiesOnly yes
PreferredAuthentications publickey
## Connects to a remote Server via SSH
Host server_name
HostName path.to.server
Expand Down

0 comments on commit a8f543c

Please sign in to comment.