xStack DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual 
config ssh user 
password, and then to retype the password for confirmation. 
publickey – This parameter should be chosen if the user wishes to 
use the publickey on a SSH server for authentication. 
Restrictions Only administrator-level users can issue this command. 
Example usage: 
  To configure the SSH user: 
DGS-3400:4# config ssh user Trinity authmode Password 
Command: config ssh user Trinity authmode Password 
 
Enter a case sensitive new password: ******* 
Enter the new password again for conformation:*******  
 
Success. 
 
DGS-3400:4# 
 
show ssh user authmode 
Purpose  Used to display the SSH user setting. 
Syntax 
show ssh user authmode 
Description  This command allows you to display the current SSH user setting. 
Parameters None. 
Restrictions None. 
Example usage: 
 To display the SSH user: 
DGS-3400:4#show ssh user authmode 
Command: show ssh user authmode 
 
Current Accounts:      
UserName       Authentication       Host Name       Host IP                          
--------------        ---------------------       -----------------     --------- 
Trinity              Hostbased              12334                10.45.25.8         
 
DGS-3400:4# 
 
Note: To configure the SSH user, the administrator must create a user account on the 
Switch. For information concerning configuring a user account, please see the section of 
this manual entitled Basic Switch Commands and then the command, create account 
user. 
 
 
config ssh algorithm 
Purpose  Used to configure the SSH algorithm. 
Syntax 
config ssh algorithm [3DES | AES128 | AES192 | AES256 | arcfour | 
blowfish | cast128 | twofish128 | twofish192 | twofish256 | MD5 | 
SHA1 | RSA | DSA] [enable | disable] 
Description  This command allows you to configure the desired type of SSH 
algorithm used for authentication encryption. 
 
216