[Description]
Sets whether to perform client alive checking.
A message requesting a response is sent to the client at intervals of the number of seconds specified by "interval". If there is no
response for a successive number of times specified by "count", the connection with this client is cut and the session is ended.
If this command is executed with the "no" syntax, the setting returns to the default.
4.18 SSH client
4.18.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.
SWR2311P#ssh [email protected] 12345
To the host at IPv6 address fe80::2a0:deff:fe11:2233, connect via SSH using user name "uname" and port number 12345.
SWR2311P#ssh uname@fe80::2a0:deff:fe11:2233%vlan1 12345
4.18.2 Enable SSH client
[Syntax]
ssh-client
switch
no
ssh-client
[Parameter]
switch
:
Whether to enable SSH client
Setting value
Description
enable
Enable
80
| Command Reference | Maintenance and operation functions