Configuring the Switch
3-68
Web – Click Security, SSH, Settings. Enable SSH and adjust the authentication
parameters as required, then click Apply. Note that you must first generate the host
key pair on the SSH Host-Key Settings page before you can enable the SSH server.
Figure 3-34 SSH Server Settings
CLI – This example enables SSH, sets the authentication parameters, and displays
the current configuration. It shows that the administrator has made a connection via
SHH, and then disables this connection.
Console(config)#ip ssh server 4-91
Console(config)#ip ssh timeout 100 4-92
Console(config)#ip ssh authentication-retries 5 4-93
Console(config)#ip ssh server-key size 512 4-93
Console(config)#end
Console#show ip ssh 4-96
SSH Enabled - version 2.0
Negotiation timeout: 120 secs; Authentication retries: 3
Server key size: 768 bits
Console#show ssh 4-96
Connection Version State Username Encryption
0 2.0 Session-started admin ctos aes128-cbc-hmac-md5
stoc aes128-cbc-hmac-md5
Console#disconnect 0 4-37
Console#