when doing ssh-add privkey, using completion, I should provide the complete path...
[dotfiles] / config
1 # this file should be put under ~/.ssh directory with 600 privileges
2
3 # SSH multiplexing
4 # tell ssh to try to start a master if none is running, or use
5 # an existing one otherwise. This will speed up multiple ssh
6 # connections to the same server
7 Host *
8 ControlMaster auto
9 ControlPath /tmp/%r@%h:%p
10 #Ciphers arcfour
11 StrictHostKeyChecking no
12 BatchMode yes
13 # If set to "yes", passphrase/password querying will be disabled.
14 # This option is useful in scripts and other batch jobs where no
15 # user is present to supply the password. The argument must be
16 # "yes" or "no". The default is "no".
17 IdentitiesOnly = yes
18 # Specifies that ssh should only use the authentication identity
19 # files configured in the ssh_config files, even if the ssh-agent
20 # offers more identities. The argument to this keyword must be
21 # "yes" or "no". This option is intended for situations where
22 # ssh-agent offers many different identities. The default is "no"
23 KeepAlive yes
24 ServerAliveInterval 30
25 # will send a KeepAlive every 30 seconds:
26
27
28 Host github.com
29 Hostname ssh.github.com
30 Port 443
31 IdentityFile ~/.ssh/id_rsa_github
32
33 Host bitbucket.org
34 IdentityFile ~/.ssh/id_rsa_bitbucket