xStack
config ssh server
Purpose | Used to configure the SSH server. |
Syntax | config ssh server {maxsession <int |
| 600> authfail <int |
| port <tcp_port_number |
Description | This command allows you to configure the SSH server. |
Parameters | maxsession <int |
| that may simultaneously access the Switch. The default is 8. |
| contimeout <sec |
| timeout. The user may set a time between 120 and 600 seconds. |
| The default is 120 seconds. |
| authfail <int |
| number of attempts that a user may try to logon utilizing SSH |
| authentication. After the maximum number of attempts is exceeded, |
| the Switch will be disconnected and the user must reconnect to the |
| Switch to attempt another login. |
| rekey [10min 30min 60min never] - Sets the time period that the |
| Switch will change the security shell encryptions. |
| port <tcp_port_number |
| server. TCP ports are numbered between 1 and 65535. The “well- |
| known” port for the SSH management software is 22. |
Restrictions | Only |
|
|
Usage Example:
To configure the SSH server:
Command: config ssh server maxsession 2 contimeout 300 authfail 2
Success.
show ssh server
Purpose | Used to display the SSH server setting. |
Syntax | show ssh server |
Description | This command allows you to display the current SSH server setting. |
Parameters | None. |
Restrictions | None. |
|
|
Usage Example:
To display the SSH server:
179