I need to tell SSH to use special IdentityFile for special user.
For example host specs [email protected]
[email protected]
should use key ~/.ssh/id_wizard
I'd like to write
User wizard
IdentityFile ~/.ssh/id_wizard
but there is no such option in man ssh_config
.
You should be able to use the Match directive. Match is a more generalized form of the Host directive:
So: