To enable host-based authentication with traditional public keys on the client, do the following steps as ClientUser:
- Generate a host key. By default,
/etc/ssh2/hostkey.pub are generated during installation, so you can skip this step. Otherwise, give the following command:
> /usr/lpp/ssh2/bin/ssh-keygen2 -P /etc/ssh2/hostkey
- Add the following line in the
Also other authentication methods can be listed. Place the least interactive method first. For example:
- Change the
DefaultDomain keyword in the
ssh2_config file to reflect your fully qualified domain:
Setting this is mandatory if the
keyword in the
sshd2_config file on Server has been set to
yes. But even if
HostbasedAuthForceClientHostnameDNSMatch is not used, the
DefaultDomain keyword is useful, for example, on AIX and Solaris, which report only the short hostname by default.
[ Contact Information | Support | Feedback | SSH Home Page | SSH Products ]
Copyright © 2006 SSH Communications Security Corp.
This software is protected by international copyright laws. All rights reserved.