IdentityFile option escape sequences

Darren Tucker dtucker at
Fri Apr 28 18:08:57 EST 2006

On Thu, Apr 27, 2006 at 09:34:41AM +0200, Gawain Bolton wrote:
> Hello,
> I'm using openssh-4.3p2 compiled for sparc-sun-solaris2.8.  I'm trying 
> to use the IdentityFile option with the escape sequences for the remote 
> host name (%h) and remote user name (%r) as documented in ssh-config 
> <>.
> It seems the escape sequences do not work.  I have tried both using the 
> command like option and an ssh-config file and the results are the same 
> - it seems the escape sequences do not get expanded.   The example below 
> shows that the option is _seen _by ssh, but the esacpe sequences are not 
> expanded.

You're looking at the man page for the current development version
(that's what the "OpenBSD+current" part means) and the feature in question
was added after the 4.3p2 release.

Darren Tucker (dtucker at
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.

More information about the openssh-unix-dev mailing list