config shh user
Purpose Used to configure the SSH user.
Syntax config ssh user <username 15> | authmode {hostbased [hostname <string 32> |
hostname_ip <string 32> | password | publickey | none}
Description This command allows you to configure the SSH user authentication method.
Parameters <username 15> – Enter a username of no more than 15 characters to identify the SSH user.
authmode – Specifies the authentication mode of the SSH user wishing to log on to the Switch.The
administrator may choose between:
hostbased – This parameter should be chosen if the user wishes to use a remote SSH server for
authentication purposes. Choosing this parameter requires the user to input the following
information to identify the SSH user.
hostname <string 32> - Enter an alphanumeric string of up to 31 characters identifying the
remote SSH user.
hostname_IP <string 32> <ipaddr> - Enter the hostname and the corresponding IP address
of the SSH user.
password – This parameter should be chosen if the user wishes to use an administrator defined password for
authentication. Upon entry of this command, the Switch will prompt the user for a 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.
none – Choose this parameter if no authentication is desired.
Restrictions Only administrator-level users can issue this command.
Example usage:
To configure the SSH user:
AT-9724TS:4# config ssh user Trinity authmode Password
Command: config ssh user Trinity authmode Password
S u c c e s s .
A T - 9 7 2 4 T S : 4 #
show shh user mode
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:
AT-9724TS:4# show ssh user authmode
Command: show ssh user authmode
Current Accounts: A u t h e n t i c a t i o n
U s e r N a m e
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
T r i n i t y P u b l i c k e y
A T - 9 7 2 4 T S : 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 user account.
158
Allied Telesyn AT-9724TS High-Density Layer 3 Stackable Gigabit Ethernet Switch • Command Line Interface Reference Manual