Re: Variable substitution in UserKnownHostsFile configuration option

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

 



On 16/01/2015 01:46, Daniel Kahn Gillmor wrote:
> %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.

I agree, this feature usecase sounds a bit weird. In my case I am using
OpenSSH compiled with Cygwin for Win32 and I need to specify in
etc/ssh_config something like this:

UserKnownHostsFile /cygdrive/c/Users/%u/.ssh/known_hosts

Currently I can only specify the location of IdentityFile.

-- 
With best regards,
Dmitry
_______________________________________________
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