Qtech QSW-2900-24T-AC [182/209] Others

14-180
(1) Configure default key. The command is as following:
crypto key generate rsa
Example:
! Configure SSH key to be default key
QTECH#crypto key generate rsa
(2) Download or upload key by tftp or ftp. The command is as following:
load keyfile { public | private } tftp server-ip filename
load keyfile { public | private } ftp server-ip filename username passwd
upload keyfile { public | private } tftp server-ip filename
upload keyfile { public | private } ftp server-ip filename username passwd
Example:
! Download keyfile pub.txt from tftp server 1.1.1.1 to be SSH public key
QTECH#load keyfile public tftp 1.1.1.1 pub.txt
(3) Clear configured key. This command will clear all keyfiles storaged in Flash storage. The configuration
command is as following:
crypto key zeroize rsa
Example:
! Clear configured SSH key
QTECH#crypto key zeroize rsa
(4) Load new key. After configuring new SSH key, it restored in Flash storage without loading. This
command can read configured key from Flash storage and update the current key. When system booting, it will
detect Flash storage, if SSH key is configured, it will load automatically. The configuration command is as
following:
crypto key refresh
Example:
! Load new SSH key:
QTECH#crypto key refresh
14.2.3 Others
Use following command to display SSH configuration
show ssh
This command is used to display SSH version number, enabling/disabling SSH and SSH keyfile. The SSH
keyfile is “available when the key is configured and loaded.
Use following command to display configured keyfile
show keyfile { public | private }
Use following command to display logged in SSH client
show users
This command is used to display all logged in Telnet and SSH client.
Use following command to force logged in SSH client to stop
stop username

Содержание

Скачать
Случайные обсуждения