Host-based authentication uses the public host key of the client machine to authenticate a user to the remote server. Host-based authentication can be used with SSH Tectia Client on Unix. The SSH Tectia Server can be either an Unix or Windows server. Usually also SSH Tectia Server is installed on the client machine.
On Windows, the user should have a local account on the server. Host-based authentication cannot be used with Windows domain accounts.
Host-based authentication provides a non-interactive form of authentication, and is best used in scripts and automated processes, such as cron jobs. Host-based authentication can be used to automate backups and file transfers, or in other situations where a user will not be present to input authentication information.
The nature of any non-interactive login is inherently insecure. Whenever authentication without user challenge is permitted, some level of risk must be assumed. If feasible, public-key authentication is preferred. SSH Tectia Server provides host-based authentication as a form of non-interactive login that is more secure than the
.rhosts method used by the Berkeley 'r' commands, but it cannot resolve the inherent lack of security of non-interactive logins.
This means that you should take aggressive measures to ensure that any client machine set up for host-based authentication is adequately secured, both by software and hardware, to prevent unauthorized logins to your server.
Host-based authentication can be enabled either by using traditional public keys or by using certificates.
In the following instructions,
Server is the SSH Tectia Server to which you are trying to connect.
ServerUser is the username on the server that you are logging into.
Client is the machine running an SSH Tectia Client.
ClientUser is the username on the client machine that should be allowed to log in to
ServerUser. With SSH Tectia Client 5.x,
ServerUser must be the same.