
Appendix G: SSH host keys
SSH host keys serve much the same purpose as server certificates in SSL/TLS, i.e. they primarily allow
clients to authenticate the server, protecting against e.g. "man in the middle" attacks. As with certificates,
public/private key pairs are used. Unlike certificates, there is no public key infrastructure and no certificate
authorities for the SSH host keys.
Instead, the security of SSH sessions depends on SSH clients keeping track of the public keys that should
be used to authenticate different SSH server hosts, not silently accepting new keys from previously
unknown server hosts, and refusing or at least strongly warning the user from proceeding with the
connection if there is a key mismatch.
Methods for Protection
In many environments, it may be reasonable for a SSH client user to simply accept the key
from a previously unknown remote server host when prompted by the client, but to achieve
strict protection against a "man in the middle" attack against this very first connection, one of
these methods can be used:
• Verifying the "fingerprint" (as displayed by the client) of the new remote host key by some
out-of-band means (e.g. verbal communication with the server administrator).
OR
• Pre-installing the remote host key (previously transferred by some out-of-band means) in
the client's key storage, i.e. effectively making the remote host known even before the
first connection.
The server administrator also needs to be able to generate new keys (e.g. at initial
configuration, or in case the old ones are believed to be compromised), and the client user
needs to be able to remove remote host keys that are no longer valid from the client's key
storage (e.g. due to the server administrator having generated new keys).
The VPN Gateway
The VPN Gateway can act both as SSH server (when a user connects to the CLI using a SSH
client) and as SSH client (when file or data transfers are initiated from the VPN Gateway using
the SCP or SFTP protocols). The
generate
and
show
commands in the
/cfg/sys/adm/
sshkeys
menu concern the former case, while the
knownhosts
User Guide
April 2013 243
Summary of Contents for 3050-VM
Page 1: ...User Guide Avaya VPN Gateway Release 9 0 NN46120 104 Issue 04 04 April 2013 ...
Page 4: ...4 User Guide April 2013 Comments infodev avaya com ...
Page 12: ...12 User Guide April 2013 ...
Page 20: ...New in this release 20 User Guide April 2013 Comments infodev avaya com ...
Page 30: ...Introducing the VPN Gateway 30 User Guide April 2013 Comments infodev avaya com ...
Page 36: ...Introducing the ASA 310 FIPS 36 User Guide April 2013 Comments infodev avaya com ...
Page 74: ...Upgrading the AVG Software 74 User Guide April 2013 Comments infodev avaya com ...
Page 86: ...Managing Users and Groups 86 User Guide April 2013 Comments infodev avaya com ...
Page 130: ...The Command Line Interface 130 User Guide April 2013 Comments infodev avaya com ...
Page 162: ...Supported Ciphers 162 User Guide April 2013 Comments infodev avaya com ...
Page 212: ...Syslog Messages 212 User Guide April 2013 Comments infodev avaya com ...
Page 242: ...Definition of Key Codes 242 User Guide April 2013 Comments infodev avaya com ...
Page 259: ...Creating a Port Forwarder Authenticator User Guide April 2013 259 ...
Page 266: ...Using the Port Forwarder API 266 User Guide April 2013 Comments infodev avaya com ...
Page 274: ...X 509 274 User Guide April 2013 Comments infodev avaya com ...