Patterns in HostName ?

Stephen Harris lists at spuddy.org
Tue Jan 24 04:45:13 EST 2012


On Mon, Jan 23, 2012 at 12:16:25PM -0500, Nick Dokos wrote:
> Stephen Harris <lists at spuddy.org> wrote:

> > In what version of OpenSSH?
> >   % ssh a.lab
> >   ssh: %h.sub.domain.example.com: Name or service not known
> > 
> 
> Works for me in
> 
> OpenSSH_5.8p1 Debian-1ubuntu3, OpenSSL 0.9.8o 01 Jun 2010

OK, looks like it was a 5.6 enhancement:
  http://www.openssh.org/txt/release-5.6

 * Expand %h to the hostname in ssh_config Hostname options.

Thanks
-- 

rgds
Stephen


More information about the openssh-unix-dev mailing list