xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
506
70
S
ECURE
S
HELL
(SSH)
C
OMMANDS
The Secure Shell (SSH) commands in the Command Line Interface (CLI) are listed (along with the appropriate
parameters) in the following table.
Command
Parameters
config ssh algorithm
[3DES | AES128 | AES192 | AES256 | Arcfour | blowfish | cast128 | twofish128 |
twofish192 | twofish256 | MD5 | SHA1 | RSA | DSS] [enable | disable]
show ssh algorithm
config ssh authmode
[password | publickey | hostbased] [enable | disable]
show ssh authmode
config ssh user
<username 15> authmode [hostbased [hostname <domain_name 32> |
hostname_IP <domain_name 32> [<ipaddr> | <ipv6addr>]] | password |
publickey]
show ssh user authmode
config ssh server
{maxsession <int 1-8> | contimeout <sec 30-600> | authfail<int 2-20> | rekey
[10min | 30min | 60min | never] | port <tcp_port_number 1-65535>}
enable ssh
disable ssh
show ssh server
config ssh publickey
bypass_login_screen state
[enable | disable]
download ssh client_pub_key
[<ipaddr> | <domain_name 255>] src_file <path_filename 64>
upload ssh client_pub_key
[<ipaddr> | <domain_name 255>] dest_file <path_filename 64>
Each command is listed, in detail, in the following sections.
config ssh algorithm
Purpose
Used to config ssh server algorithm.
Syntax
config ssh algorithm [3DES | AES128 | AES192 | AES256 | Arcfour | blowfish | cast128 |
twofish128 | twofish192 | twofish256 | MD5 | SHA1 | RSA | DSS] [enable | disable]
Description
The config ssh algorithm command config the ssh service algorithm.
Parameters
3DES
- Specify ssh server encryption algorithm.
blowfish
- Specify ssh server encryption algorithm.
AES(128,192,256)
- Specify ssh server encryption algorithm.
arcfour
- Specify ssh server encryption algorithm.
cast128
- Specify ssh server encryption algorithm.
twofish(128,192,256)
- Specify ssh server encryption algorithm.
MD5
- Specify ssh server data integrality algorithm.
SHA1
- Specify ssh server data integrality algorithm.
DSS
- Specify ssh server public key algorithm.
RSA
- Specify ssh server public key algorithm.
enable
- Specify to enable the algorithm.
disable
- Specify to disable the alogirthm.