Cisco Cisco ASR 5700

Page of 8994
SSH Configuration Mode Commands   
▀  listen 
 
 
▄  Command Line Interface Reference, StarOS Release 17 
8674 
   
listen 
Configures the SSH server in the current context to only listen for connections from the interface with the specified IP 
address. The default behavior is to listen on all interfaces. 
Product
 
All 
Privilege
 
Security Administrator, Administrator 
Mode
 
Exec > Global Configuration > Context Configuration > SSH Configuration 
configure > context context_name > server sshd
 
Entering the above command sequence results in the following prompt: 
[local]host_name(config-sshd)# 
Syntax
 
listen ip_address 
no listen 
no
 
Disable listening for a specific interface address and enable listening on all interfaces. 
ip_address
 
Enables listening only on the interface with the specified IP address. 
ip_address
 must be entered using 
IPv4 dotted-decimal notation. 
Usage 
Use this command to configure the SSH server for the current context to only listen for connections from the 
interface with the specified IP address. Only one IP address may be set for listening. 
Example
 
The following command specifies that the Server should only listen for connections in the interface with the 
IP address of 
192.168.0.10
listen 192.168.0.10