Use Pub key with IdentifyFile
This is to allow the correct usage of ssh keys from my password vault where there are multiple keys that _could_ work.
This commit is contained in:
parent
a58ae3b59d
commit
89a2f6d6ca
|
@ -1,13 +1,14 @@
|
||||||
ServerAliveInterval 300
|
ServerAliveInterval 300
|
||||||
ServerAliveCountMax 3
|
ServerAliveCountMax 3
|
||||||
|
|
||||||
|
host github.com
|
||||||
|
IdentityFile ~/.ssh/github.com.pub
|
||||||
|
IdentitiesOnly yes
|
||||||
Host git.jpatrick.io
|
Host git.jpatrick.io
|
||||||
Port 222
|
Port 222
|
||||||
IdentityFile ~/.ssh/git.jpatrick.io
|
IdentityFile ~/.ssh/git.jpatrick.io
|
||||||
Host jpatrick.io
|
Host jpatrick.io
|
||||||
IdentityFile ~/.ssh/jpatrick.io
|
IdentityFile ~/.ssh/jpatrick.io
|
||||||
Host github.com
|
|
||||||
IdentityFile ~/.ssh/github.com
|
|
||||||
Host *.greenfiling.com
|
Host *.greenfiling.com
|
||||||
ForwardAgent yes
|
ForwardAgent yes
|
||||||
Host *
|
Host *
|
||||||
|
|
Loading…
Reference in New Issue
Block a user