User Authentication
3-57
3
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 (Version 1): 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 (Version 2): 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.
•
Host-Key Type
– The key type used to generate the host key pair (i.e., public and
private keys). (Range: RSA (Version 1), DSA (Version 2), Both: Default: RSA)
The SSH server uses RSA or DSA for key exchange when the client first
establishes a connection with the switch, and then negotiates with the client to
select either DES (56-bit) or 3DES (168-bit) for data encryption.
•
Save Host-Key from Memory to Flash
– Saves the host key from RAM (i.e.,
volatile memory to flash memory. Otherwise, the host key pair is stored to RAM by
default. Note that you must select this item prior to generating the host-key pair.
•
Generate
– This button is used to generate the host key pair. Note that you must
first generate the host key pair before you can enable the SSH server on the SSH
Server Settings page.
•
Clear
– This button clears the host key from both volatile memory (RAM) and
non-volatile memory (Flash).
Console(config)#ip ssh server
4-35
Console(config)#ip ssh timeout 100
4-36
Console(config)#ip ssh authentication-retries 5
4-37
Console(config)#ip ssh server-key size 512
4-37
Console(config)#end
Console#show ip ssh
4-40
SSH Enabled - version 2.0
Negotiation timeout: 120 secs; Authentication retries: 5
Server key size: 512 bits
Console#show ssh
4-40
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-18
Console#
Summary of Contents for TL-SG5426 -
Page 1: ...TL SG5426 26 Port Gigabit Managed Switch Rev 1 0 0 1910010105...
Page 17: ...Contents xiv...
Page 21: ...Tables xviii...
Page 25: ...Figures xxii...
Page 42: ...Initial Configuration 2 10 2...
Page 107: ...Configuring the Switch 3 64 3 Figure 3 41 802 1X Port Configuration...
Page 486: ...Software Specifications A 4 A...