Configuring Secure Shell (SSH)

Public Key Formats

Public Key Formats

Any client application you use for client public-key authentication with the switch must have the capability export public keys. The switch can accept keys in the PEM-Encoded ASCII Format or in the Non-Encoded ASCII format.

 

 

 

 

 

 

 

 

Beginning of actual SSHv2

 

 

Comment

 

 

 

describing public

 

public key in PEM-Encoded

 

 

 

 

 

 

Figure 4-3. Example of Public Key in PEM-Encoded ASCII Format Common for SSHv2 Clients

 

 

 

 

 

 

Bit

 

Exponent

 

 

 

 

 

Modulus

 

Size

 

<e>

 

<n>

 

 

 

 

 

 

 

 

 

 

 

 

 

Figure 4-4. Example of Public Key in Non-Encoded ASCII Format (Common for SSHv1 Client Applications)

Steps for Configuring and Using SSH forSwitch and Client Authentication

For two-way authentication between the switch and an SSH client, you must use the login (Operator) level.

Table 4-5.

SSH Options

 

 

 

 

 

 

 

 

 

 

Switch

Primary SSH

Authenticate

Authenticate

Primary Switch

Secondary Switch

Access

Authentication

Switch Public Key

Client Public Key

Password

Password

Level

 

to SSH Clients?

to the Switch?

Authentication

Authentication

Operator

ssh login rsa

Yes

Yes1

No1

local or none

(Login)

ssh login Local

Yes

No

Yes

local or none

Level

ssh login TACACS

Yes

No

Yes

local or none

 

 

ssh login RADIUS

Yes

No

Yes

local or none

4-5