User Authentication 3

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-37 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-35

Console(config)#ip

ssh timeout 100

4-35

Console(config)#ip

ssh authentication-retries 5

4-36

Console(config)#ip

ssh server-key size 512

4-36

Console(config)#end

 

 

 

Console#show ip ssh

 

 

4-39

SSH Enabled - version 2.0

 

 

Negotiation timeout: 120 secs; Authentication retries: 3

 

Server key size: 768 bits

 

 

Console#show ssh

 

 

4-39

Information of secure shell

 

 

Session Username Version Encrypt method Negotiation state

 

------- -------- ------- -------------- -----------------

 

0

admin

2.0

cipher-3des session-started

 

Console#disconnect

0

 

4-17

Console#

 

 

 

 

 

 

 

 

 

3-61