sysconf ssh port

Set the SSHD listen port number.

User Privileges

Users with the following privileges can perform this command:

>Admin

Syntax

sysconf ssh port <port>

Argument(s) Description
<port>

Specifies the SSHD listen port number.

Range: 22 or 1024-65535

Default: 22

Example

lunash:>sysconf ssh port 1024


This command sets the SSHD listen port number.
Please make sure that you choose a new port number which is not used by other services.


SSH Port Changed from 22 to: Port 1024

Stopping sshd:                                             [  OK  ]

Starting sshd:                                             [  OK  ]


Command Result : 0 (Success)