Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Genrate keys
- $ ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
- -----------------------------------------------------------
- # Edit ~/.ssh/config
- Host your.hostname.com
- Hostname github.com
- User git
- IdentityFile ~/.ssh/id_rsa
- -----------------------------------------------------------
- # Add Identity without Keychain
- # There may be times in which you don't want the passphrase stored in the keychain,
- # but don't want to have to enter the passphrase over and over again.
- $ ssh-add ~/.ssh/id_rsa
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement