-
Notifications
You must be signed in to change notification settings - Fork 34
OSX
Rory Kirchner edited this page Oct 11, 2017
·
5 revisions
Use Homebrew to get linux-like functionality on OSX
Use XQuartz for X11 window functionality in OSX.
Enter one time password into the current window (https://github.com/jwm/os-x-otp-token-paster)
Add this to your ~/.ssh/config on your OSX machine:
Host *
XAuthLocation /opt/X11/bin/xauth
This will add your key to the OSX keychain, here your private key is assumed to be named "id_rsa":
ssh-add -K ~/.ssh/id_rsa
Now tell ssh to use the keychain. Add this to the ~/.ssh/config on your OSX machine:
Host *
AddKeysToAgent yes
UseKeychain yes
IdentityFile ~/.ssh/id_rsa
XAuthLocation /opt/X11/bin/xauth