Page 616 / 757 Scroll up to view Page 611 - 615
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
612
DGS-3627:admin# show ssh algorithm
Command: show ssh algorithm
Encryption Algorithm
3DES
: Enabled
AES128
: Enabled
AES192
: Enabled
AES256
: Enabled
Arcfour
: Enabled
Blowfish
: Enabled
Cast128
: Enabled
Twofish128 : Enabled
Twofish192 : Enabled
Twofish256 : Enabled
MD5
: Enabled
SHA1
: Enabled
RSA
: Enabled
DSS
: Enabled
DGS-3627:admin#
config ssh authmode
Purpose
Used to update user authentication for ssh configuration.
Syntax
config ssh authmode [password | publickey | hostbased] [enable | disable]
Description
The config ssh user command update the ssh user information.
Parameters
password
- Specifies user authentication method.
publickey
- Specifies user authentication method.
hostbased
- Specifies user authentication method.
enable
- Enable user authentication method.
disable
- Disable user authentication method.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To config user authentication method:
DGS-3627:admin# config ssh authmode publickey enable
Command: config ssh authmode publickey enable
Success.
DGS-3627:admin#
show ssh authmode
Purpose
Used to show user authentication method.
Syntax
show ssh authmode
Description
The show ssh authmode command show the user authentication method.
Parameters
None.
Restrictions
None.
Page 617 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
613
Example usage:
To show user authentication method:
DGS-3627:admin# show ssh authmode
Command: show ssh authmode
The SSH authmode
Password
: Enabled
Publickey : Enabled
Hostbased : Enabled
DGS-3627:admin#
config ssh user
Purpose
Used to update user information for ssh configuration.
Syntax
config ssh user <username 15> authmode [hostbased [hostname <domain_name 32> |
hostname_IP <domain_name 32> <ipaddr>] | password | publickey]
Description
The config ssh user command update the ssh user information.
Parameters
username
- Specifies the User name.
publickey
- Specifies user authentication method.
password
- Specifies user authentication method.
hostbased
- Specifies user authentication method.
hostname
- Specifies host domain name.
hostname_ip
- Specifies host domain name and ipaddress.
domain_name
- Specifies host name if configuration hostbased mode.
ipaddr
- Specifies host ip address if configuring hostbased mode.
Restrictions
Only Administrator level users can issue this command.
Example usage:
To update user “test” authmode:
DGS-3627:admin# config ssh user test publickey
Command: config ssh user test publickey
Success.
DGS-3627:admin#
show ssh user authmode
Purpose
Used to show ssh user information.
Syntax
show ssh user authmode
Description
The show ssh user command show the ssh user information.
Parameters
None.
Restrictions
Only Administrator level users can issue this command.
Example usage:
To show user information about ssh configuration:
Page 618 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
614
DGS-3627:admin# show ssh user authmode
Command: show ssh user authmode
Current Accounts
Username
Authenticaiton
-------------
-------------
test
publickey
Total Entries : 1
DGS-3627:admin#
config ssh server
Purpose
Used to configure the SSH server.
Syntax
config ssh server {maxsession <int 1-8>| contimeout <sec 120-600> | authfail {<int 2-
20> | rekey [10min | 30min | 60min | never] | port < tcp_port_number 1-65535>}
Description
The config ssh server command config the SSH server general information.
Parameters
maxsession
- Specifies ssh server max session at the same time.
contimeout
- Specifies ssh server connection timeout.
authfail
- Specifies user max fail attempts.
10/30/60 min
- Specifies time to re-generate session key.
never
- Do not re-generate session key.
port
- Specifies the TCP port used to communication between ssh client and server. The
default value is 22.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To config ssh server maxsession is 3:
DGS-3627:admin# config ssh server maxsession 3
Command: config ssh server maxsession 3
Success.
DGS-3627:admin#
enable ssh
Purpose
Used to enable the SSH server.
Syntax
enable ssh
Description
The enable ssh command enables ssh server services. When enabling ssh, telnet will be
disabled.
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To enable the SSH server:
Page 619 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
615
DGS-3627:admin# enable ssh
Command: enable ssh
Success.
DGS-3627:admin#
disable ssh
Purpose
Used to disable the SSH server service.
Syntax
disable ssh
Description
The disable ssh command disables ssh server services.
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To disable the SSH server service:
DGS-3627:admin# disable ssh
Command: disable ssh
Success.
DGS-3627:admin#
show ssh server
Purpose
Used to show the SSH server.
Syntax
show ssh server
Description
The show ssh server command show the ssh server general information.
Parameters
None.
Restrictions
None.
Example usage:
To show the SSH server:
DGS-3627:admin# show ssh server
Command: show ssh server
The SSH server configuration
max Session
: 3
Connection timeout
: 300
Authfail attempts
: 2
Rekey timeout
: 60min
TCP Port Number
: 23
DGS-3627:admin#
Page 620 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
616
81
SECURE SOCKETS LAYER (SSL) COMMANDS
Secure Sockets Layer or SSL is a security feature that will provide a secure communication path between a host and
client through the use of authentication, digital signatures and encryption. These security functions are implemented
through the use of a ciphersuite, which is a security string that determines the exact cryptographic parameters, specific
encryption algorithms and key sizes to be used for an authentication session and consists of three levels:
Key Exchange:
The first part of the ciphersuite string specifies the public key algorithm to be used. This Switch
utilizes the Rivest Shamir Adleman (RSA) public key algorithm and the Digital Signature Algorithm (DSA),
specified here as the DHE_DSS Diffie-Hellman (DHE) public key algorithm. This is the first authentication
process between client and host as they “exchange keys” in looking for a match and therefore authentication to
be accepted to negotiate encryptions on the following level.
Encryption:
The second part of the ciphersuite that includes the encryption used for encrypting the messages
sent between client and host. The Switch supports two types of cryptology algorithms:
o
Stream Ciphers – There are two types of stream ciphers on the Switch, RC4 with 40-bit keys and RC4
with 128-bit keys. These keys are used to encrypt messages and need to be consistent between client
and host for optimal use.
o
CBC Block Ciphers – CBC refers to Cipher Block Chaining, which means that a portion of the previously
encrypted block of encrypted text is used in the encryption of the current block. The Switch supports the
3DES_EDE encryption code defined by the Data Encryption Standard (DES) to create the encrypted text.
Hash Algorithm
: This part of the ciphersuite allows the user to choose a message digest function which will
determine a Message Authentication Code. This Message Authentication Code will be encrypted with a sent
message to provide integrity and prevent against replay attacks. The Switch supports two hash algorithms, MD5
(Message Digest 5) and SHA (Secure Hash Algorithm).
These three parameters are uniquely assembled in four choices on the Switch to create a three layered encryption code
for secure communication between the server and the host. The user may implement any one or combination of the
ciphersuites available, yet different ciphersuites will affect the security level and the performance of the secured
connection. The information included in the ciphersuites is not included with the Switch and requires downloading from a
third source in a file form called a
certificate
. This function of the Switch cannot be executed without the presence and
implementation of the certificate file and can be downloaded to the Switch by utilizing a TFTP server. The Switch
supports SSLv3 and TLSv1. Other versions of SSL may not be compatible with this Switch and may cause problems
upon authentication and transfer of messages from client to host.
Command
Parameters
enable ssl
{ciphersuite {RSA_with_RC4_128_MD5 | RSA_with_3DES_EDE_CBC_SHA |
DHE_DSS_with_3DES_EDE_CBC_SHA | RSA_EXPORT_with_RC4_40_MD5}}
disable ssl
{ciphersuite {RSA_with_RC4_128_MD5 | RSA_with_3DES_EDE_CBC_SHA |
DHE_DSS_with_3DES_EDE_CBC_SHA | RSA_EXPORT_with_RC4_40_MD5}}
config ssl cachetimeout
<value 60-86400>
show ssl
{certificate}
show ssl cachetimeout
download ssl certificate
<ipaddr> certfilename <path_filename 64> keyfilename <path_filename 64>
Each command is listed, in detail, in the following sections.

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top