U

SER

A
UTHENTICATION
6-18

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 22-25
Console(config)#ip ssh timeout 100 22-26
Console(config)#ip ssh authentication-retries 5 22-27
Console(config)#ip ssh server-key size 512 22-27
Console(config)#end
Console#show ip ssh 22-31
SSH Enabled - version 2.0
Negotiation timeout: 120 secs; Authentication retries: 3
Server key size: 768 bits
Console#show ssh 22-31
Information of secure shell
Session Username Version Encrypt method Negotiation state
------- -------- ------- -------------- -----------------
0 admin 2.0 cipher-3des session-started
Console#disconnect 0 20-36
Console#