openssh-2.9p2, short hostnames

Pekka Savola pekkas at
Tue Oct 2 15:35:02 EST 2001

On Mon, 1 Oct 2001, Hans Werner Strube wrote:
> > For systems where the local hostname is obtained as a short name without
> > domain, there should be a ssh_config option "DefaultDomain" as in ssh-3.x
> > from
> Below there is a patch which implements this. But it does not abort (as
> ssh-3.x does) if the host name is not FQDN, since within the local net
> there is no need for this. By making the config entry conditional for names
> with dots, a short "chost" name can be used within the local net and the
> FQDN otherwise:
> Host *.*
>    DefaultDomain
> Host *
> #  no DefaultDomain

I don't think it is a good idea to hack _ssh_ to support this.  Why don't
you use FQDN's as hostnames like most of the other people?

Pekka Savola                 "Tell me of difficulties surmounted,
Netcore Oy                   not those you stumble over and fall"
Systems. Networks. Security.  -- Robert Jordan: A Crown of Swords

More information about the openssh-unix-dev mailing list