User Manual

Table Of Contents
4.19.1 Start SSH client
[Syntax]
ssh [user@] host [port]
[Parameter]
user : User name used when logging in to the remote host
host : Remote host name, IPv4 address (A.B.C.D), or IPv6 address (X:X::X:X)
If you specify an IPv6 link local address, you must also specify the output interface (fe80::X%vlanN
format)
port : <1-65535>
Port number to use (if omitted: 22)
[Initial value]
none
[Input mode]
priviledged EXEC mode
[Description]
Connects to the specified host via SSH.
If user is omitted, access the SSH server using the currently logged-in user name.
If user is omitted when logged in as an unnamed user, "root" is used.
[Note]
The escape character is the tilde (~). The escape character is recognized only if it is input at the beginning of the line.
If the escape character is input twice in succession at the beginning of the line, the escape character is used as input to the
server.
If the escape character followed by a period (.) is input, the connection is forcibly closed.
If the escape character followed by a question mark (?) is input, a list of escape inputs is shown.
[Example]
To the host at IPv4 address 192.168.100.1, connect via SSH using user name "uname" and port number 12345.
SWP2#ssh uname@192.168.100.1 12345
To the host at IPv6 address fe80::2a0:deff:fe11:2233, connect via SSH using user name "uname" and port number 12345.
SWP2#ssh uname@fe80::2a0:deff:fe11:2233%vlan1 12345
4.19.2 Enable SSH client
[Syntax]
ssh-client switch
no ssh-client
[Parameter]
switch : Whether to enable SSH client
Setting value Description
enable Enable
disable Disable
[Initial value]
ssh-client disable
[Input mode]
global configuration mode
Command Reference | Maintenance and operation functions | 89