-
Notifications
You must be signed in to change notification settings - Fork 296
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] ssh_config multiple IdentityFile not supported #176
Comments
@mlrtime Thanks for the report. Would you mind linking to the upstream OpenSSH documentation, showing us how this feature is supposed to be supported? The fix can then be linked back to the original sources, explaining why the change has been made. |
From: https://linux.die.net/man/5/ssh_config IdentityFile The file name may use the tilde syntax to refer to a user's home directory or one of the following escape characters: '%d' (local user's home directory), '%u' (local user name), '%l' (local host name), '%h' (remote host name) or '%r' (remote user name). It is possible to have multiple identity files specified in configuration files; all these identities will be tried in sequence. |
@mlrtime Thanks. Can you put that into an actual example of what should be rendered in the file itself? |
IdentityFile ~/.ssh/identity |
In my pillar I have
This Renders to:
Host *IdentityFile ~/.ssh/id_rsaIdentityFile ~/.ssh/id_ed25519IdentityFile ~/.ssh/id_ecdsa
It seems that ssh_config does not support multiple IdentityFile
The text was updated successfully, but these errors were encountered: