Re: Variable substitution in UserKnownHostsFile configuration option

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



On Sat 2015-01-10 09:10:38 -0500, Dmitry Katsubo wrote:

> Do you find it a good idea if variable substitution is implemented in
> UserKnownHostsFile the same way it is done for IdentityFile? In
> ssh_config I would like to write something like
>
> UserKnownHostsFile ~/keys/%r/known_hosts

%r is the remote username, right?  so this would be useful if you wanted
a different known_hosts file for example.net depending on whether you
were logging in as foo@xxxxxxxxxxx or bar@xxxxxxxxxxx.  is that right?
if so, it seems like a pretty strange use case.  can you come up with a
better rationale for the variable substitution?

In the abstract, it seems like a reasonable suggestion, but the specific
example you're offering isn't particularly compelling.

        --dkg
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux