AAA Authorization and Accounting
3-77
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-48 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.
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 section “Importing User Public Keys” on page 3-79.
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.
Console(config)#ip ssh server
4-47
Console(config)#ip ssh timeout 100
4-48
Console(config)#ip ssh authentication-retries 5
4-48
Console(config)#ip ssh server-key size 512
4-49
Console(config)#end
Console#show ip ssh
4-51
SSH Enabled - version 2.0
Negotiation timeout: 120 secs; Authentication retries: 5
Server key size: 512 bits
Console#show ssh
4-52
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#
Содержание 6128PL2
Страница 2: ......
Страница 8: ...viii ...
Страница 26: ...Contents xviii ...
Страница 30: ...Tables xxii ...
Страница 52: ...Initial Configuration 2 10 2 ...
Страница 308: ...Configuring the Switch 3 256 3 ...
Страница 473: ...SNMP Commands 4 165 4 ...
Страница 644: ...Command Line Interface 4 336 4 ...
Страница 648: ...Software Specifications A 4 A ...
Страница 663: ......