[Bug 1159] %u and %h not handled in IdentityFile

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Sun Feb 26 17:15:25 EST 2006


http://bugzilla.mindrot.org/show_bug.cgi?id=1159





------- Comment #5 from dtucker at zip.com.au  2006-02-26 17:15 -------
(In reply to comment #3)
> Also, I think it would be better to have:
> 
> %u -> user
> %h -> local hostname
> %d -> home directory

The current uses of percent_expand() are, with this proposal at the bottom:

                ClHost  ClUser  SrvHost SrvUser SrvPort Homedir
authorized_keys                         %u              %h
ControlPath     %l              %h      %r      %p
ProxyCommand                    %h              %p
IdentityFile    %h      %u                              %d

To keep the client-side consistent, those could be:
%u -> local user
%l -> local hostname
%d -> home directory

The following might also be useful:
%h -> remote host
%r -> remote username




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




More information about the openssh-bugs mailing list