![SMC Networks 7724M/VSW - annexe 1 Скачать руководство пользователя страница 58](http://html1.mh-extra.com/html/smc-networks/7724m-vsw-annexe-1/7724m-vsw-annexe-1_manual_1299754058.webp)
Management Guide
CLI
TigerAccess™ EE
SMC7824M/VSW
57
4.4.2.3 Authentication
Key
SSH client can access to server through authentication key after configuring authentica-
tion key and informing it to server. It is safer to use authentication key than inputting
password every time for login, and it is also possible to connect to several SSH servers
with using one authentication key.
To configure an authentication key in the switch, use the following command.
Command Mode
Description
ssh keygen
{
rsa1
|
rsa
|
dsa
} Global
copy
{
scp
|
sftp
}
key
upload
FILENAME
Enable
Configures an authentication key.
rsa1: SSH ver. 1 authentication
rsa: SSH ver. 2 authentication
dsa: SSH ver. 2 authentication
FILENAME: key file name
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@switch
SWITCH_A(config)#
Step 2
Copy the generated authentication key to SSH server.
Step 3
Connect to SSH server with the authentication key.
SWITCH_A(config)#
ssh login
172.16.209.10
Enter passphrase for key '/etc/.ssh/id_dsa':
networks
SWITCH_B#
Содержание 7724M/VSW - annexe 1
Страница 1: ......
Страница 385: ...CLI Management Guide TigerAccess EE 384 SMC7824M VSW ...
Страница 387: ......