Cisco Cisco ASR 5000

Page of 9109
  Exec Mode Commands (D-S) 
ssh  ▀   
 
Command Line Interface Reference, StarOS Release 18  ▄  
 
   
4243 
ssh 
Connects to a remote host using a secure shell (SSH) interface. 
Product
 
All 
Privilege
 
Security Administrator, Administrator, Operator 
Mode
 
Exec 
The following prompt is displayed in the Exec mode: 
[local]host_name
Syntax
 
ssh { host_name host_ip_address } [ port port_num ] [ user user_name ] 
host_name | host_ip_address
 
Identifies the remote node with which to attempt connection. 
host_name
: specifies the remote node using its logical host name which must be resolved via DNS lookup. 
host_ip_address
: specifies the remote node using its assigned IP address in IPv4 dotted-decimal notation. 
port
 
port_num
 
Specifies a specific port for connection as an integer from 1025 through 10000. 
user
 
user_name
 
Specifies the user name attempting connection. 
Usage 
SSH connects to a remote network element using a secure interface. 
Example
 
The following connects to remote host 
remoteABC
 as user 
user1
ssh remoteABC user user1 
The following connects to remote host 
10.2.3.4
 without any default user. 
ssh 10.2.3.4 
The following connects to remote host 
10.2.3.4
 via port 
2047
 without any default user. 
ssh 10.2.3.4 port 2047