Raritan Computer EMX2-111 Manual Do Utilizador

Página de 379
Chapter 10: Using the Command Line Interface 
 
254
 
 
 
Enabling or Disabling SSH 
This command syntax enables or disables the SSH service. 
config:# 
network services ssh enabled <option> 
 
Variables: 
 
<option> is one of the options: true or false
Option 
Description 
true 
The SSH service is enabled. 
false 
The SSH service is disabled. 
 
 
Example 
The following command enables the SSH service. 
config:# 
network services ssh enabled true 
 
 
Changing the SSH Port 
This command syntax changes the SSH port. 
config:# 
network services ssh port <n> 
 
Variables: 
 
<n> is a TCP port number between 1 and 65535. The default SSH 
port is 22. 
 
 
Example 
The following command syntax sets the TCP port for SSH to 555. 
config:# 
network services ssh port 555