Siemens S223 User Manual

Page 63

Advertising
background image

User Manual UMN:CLI
SURPASS hiD 6615 S223/S323 R1.5

A50010-Y3-C150-2-7619 63

To configure authentication key in the hiD 6615 S223/S323, use the following command.

Command Mode

Description

ssh keygen

{rsa1 | rsa | dsa} Global

Configures authentication key.
rsa1: SSH ver. 1 public key for the authentication
rsa: SSH ver. 2 public key for the authentication
dsa: SSH ver. 2 public key for the authentication

To configure authentication key and connect to SSH server with the authentication key,
perform the following procedure.

Step 1

Configure the authentication key in the switch.

SWITCH_A(config)# ssh keygen dsa

Generating public/private dsa key pair.

Enter file in which to save the key (/etc/.ssh/id_dsa):

Enter passphrase (empty for no passphrase):networks

Enter same passphrase again:networks

Your identification has been saved in /etc/.ssh/id_dsa.

Your public key has been saved in /etc/.ssh/id_dsa.pub.

The key fingerprint is:

d9:26:8e:3d:fa:06:31:95:f8:fe:f6:59:24:42:47:7e root@hiD6615

SWITCH_A(config)#

Step 2

Connect to SSH server with the authentication key.

SWITCH_A# ssh login 172.16.209.10

Enter passphrase for key '/etc/.ssh/id_dsa': networks

SWITCH_B#

To display the configured authentication keys in the hiD 6615 S324, use the following
command.

Command Mode

Description

show key-list

Enable

Global

Shows an authentication key of SSH server.

Advertising
This manual is related to the following products: