Skip to content

Instantly share code, notes, and snippets.

@marhan
Created January 22, 2017 20:09
Show Gist options
  • Save marhan/6e76e31254047fa85210a2727cc1c0ff to your computer and use it in GitHub Desktop.
Save marhan/6e76e31254047fa85210a2727cc1c0ff to your computer and use it in GitHub Desktop.
MacOS Sierra asks every time for ssh password while connecting to other server via ssh
Host *
AddKeysToAgent yes
UseKeychain yes
IdentityFile ~/.ssh/id_rsa
@marhan
Copy link
Author

marhan commented Jan 22, 2017

Placed in ~/.ssh/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment