Skip to content

Instantly share code, notes, and snippets.

View michael-harrison's full-sized avatar

Michael Harrison michael-harrison

View GitHub Profile
@michael-harrison
michael-harrison / ssh_sessions.md
Created July 11, 2017 23:01
SSH Session persistence

Add this ServerAliveInterval 60 to your ~/.ssh/config

@michael-harrison
michael-harrison / osx_ssh_passphrase.md
Last active February 20, 2018 04:56
OSX Sierra SSH Passphrase persistence

OSX Sierra SSH Passphrase persistence

NB: Most people use the defult SSH key ~/.ssh/id_rsa however you can create your own so change this as needed

  1. Add the following to ~/.ssh/config
Host *
  UseKeychain yes
  AddKeysToAgent yes
  IdentityFile ~/.ssh/id_rsa