Generating the host key pair, Generating the host key pair -81, Field attributes – SMC Networks SMC Tiger 10/100 SMC6128L2 User Manual
Page 135

U
SER
A
UTHENTICATION
3-81
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.
Generating the Host Key Pair
A host public/private key pair is used to provide secure communications
between an SSH client and the switch. After generating this key pair, you
must provide the host public key to SSH clients and import the client’s
public key to the switch as described in the proceeding section (Command
Usage).
Field Attributes
•
Public-Key of Host-Key – The public key for the host.
- RSA: The first field indicates the size of the host key (e.g., 1024), the
second field is the encoded public exponent (e.g., 65537), and the
last string is the encoded modulus.
- DSA: The first field indicates that the encryption method used by
SSH is based on the Digital Signature Standard (DSS). The last string
is the encoded modulus.
Console(config)#ip ssh server
Console(config)#ip ssh timeout 100
Console(config)#ip ssh authentication-retries 5
Console(config)#ip ssh server-key size 512
Console(config)#end
Console#show ip ssh
SSH Enabled - version 2.0
Negotiation timeout: 120 secs; Authentication retries: 3
Server key size: 768 bits
Console#show ssh
Information of secure shell
Session Username Version Encrypt method Negotiation state
------- -------- ------- -------------- -----------------
0 admin 2.0 cipher-3des session-started
Console#disconnect 0
Console#