HP-UX Secure Shell Getting Started Guide HP-UX 11i v1, HP-UX 11i v2, and HP-UX 11i v3 (5900-3142, June 2013)

HostbasedAuthentication no
NOTE: This directive is available for the SSH-2 protocol only.
HostKeyAlgorithms
Use this directive to specify the SSH-2 protocol host key algorithms that the client uses, in the order
of preference.
The default setting is ecdsa-sha2-nistp256-cert-v01@openssh.com,
ecdsa-sha2-nistp384-cert-v01@openssh.com,
ecdsa-sha2-nistp521-cert-v01@openssh.com,
ssh-rsa-cert-v01@openssh.com,ssh-dss-cert- v01@openssh.com,
ssh-rsa-cert-v00@openssh.com,ssh-dss-cert-v00@openssh.com,
ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,
ssh-rsa,ssh-dss.
For example:
HostKeyAlgorithms ssh-dsa
HostKeyAlias
Use this directive to specify an alias that must be used, instead of the real host name, when looking
up or saving the host key in the host key database files. This directive can also be used to tunnel
secure connections or for multiple servers running on a single host.
This directive does not have a default value.
For example:
HostKeyAlias server01
HostName
Use this directive to specify the real host name to log in to. This directive can also be used to specify
nicknames or abbreviations for hosts. If the hostname contains the character sequence %h, then
this is replaced with the host name specified on the command line.
Numeric IP addresses are permitted on both the command line and HostName specifications.
The default setting is the name given on the command line.
For example:
HostName john.users.com
IdentityFile
Use this directive to specify a file from which the RSA, DSA or ECDSA authentication identity of
the user is read.
The default setting is as follows:
For SSH-1:
$HOME/.ssh/identity
For SSH-2:
$HOME/.ssh/id_rsa, $HOME/.ssh/id_dsa, and $HOME/.ssh/id_ecdsa
For example:
IdentityFile $HOME/.ssh/id_rsa
IdentitiesOnly
Use this directive to specify that ssh must use only the authentication identity files configured in
the ssh_config file, even if thessh-agent offers more identities.
The default setting is no.
For example:
90 Configuration Files and Directives