xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
512
config ssh publickey bypass_login_screen state
authentication.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To disable the secondary username/password authentication for users using SSH public key authentication:
DGS-3450:admin#config ssh publickey bypass_login_screen state enable
Command: config ssh publickey bypass_login_screen state enable
Success.
DGS-3450:admin#
download ssh client_pub_key
Purpose
Used to download the SSH public key file on client computer to the switch through TFTP
protocol.
Syntax
download ssh client_pub_key [<ipaddr> | <domain_name 255>] src_file
<path_filename 64>
Description
This command is used to download the SSH public key file to the switch through TFTP
protocol. The SSH public keys should meet the following condition:
•
The created public keys’ format should be compliant with OpenSSH.
•
All public keys to be downloaded should be copied into a file (The number of public keys
can be up to 8).
Parameters
<ipaddr>
- Specifies the IPv4 address of the TFTP server.
<domain_name 255>
- Specifies the domain name of the TFTP server. This name can be up
to 255 characters long.
src_file
<path_filename 64>
- Specifies the path name and file name of the TFTP server. It
can be a relative path name or an absolute path name. If path name is not specified, it refers
to the TFTP server path. The maximum length is 64 characters.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To download a SSH public key file named id_rsa_keys from TFTP server 169.168.10.100 to the switch:
DGS-3450:admin#download ssh client_public_key 169.168.10.100 src_file id_rsa_keys
Command: download ssh client_public_key 169.168.10.100 src_file id_rsa_keys
Connecting to server................... Done.
Download SSH public key.................Done.
DGS-3450:admin#
upload ssh client_pub_key
Purpose
Used to upload the SSH public key file from the switch to a computer through TFTP protocol.
Syntax
upload ssh client_pub_key [<ipaddr> | <domain_name 255>] dest_file <path_filename
64>
Description
This command is used to upload the SSH public key file from the switch to a computer