Displaying 1 result from an estimated 1 matches for "hostaadmin".
2011 Dec 13
3
ssh-agent and IdentityFile
...different permissions on the
server (again, through a command directive on authorized_keys on the
server).
So, my .ssh/config uses two different Host configs, so I can use the
alias hostname to get to the different access permissions:
Host=hostA
Hostname=repos.example.com
IdentityFile=usera
Host=hostAAdmin
Hostname=repos.example.com
IdentityFile=userb
Of course, these key files are password protected.
Once ssh-agent has the usera or userb key installed, it ignores the
config...meaning I have to do a lot of shuffling with ssh-add...and
I've lost the benefit of using ssh-agent at all...worse, now...