Bug#919047: ssh_config: allow tokens for IdentityFile keyword
Package: openssh
Severity: wishlist
Hi,
it would be nice if ssh would allow using tokes in ssh_config for the
IdentityFile keyword to minimize ssh_config files.
Without token, a config might look like this:
---
Host *.example.com
IdentifyFile ~/.ssh/keys/daniel.baumann@example.com
Host *.example.org
IdentifyFile ~/.ssh/keys/daniel@example.org
--
with token support, I could have:
--
Host *.example.com *.example.org
IdentityFile ~/.ssh/keys/%u@%h
--
Regards,
Daniel
Reply to: