Configuration manual
2. System Login
19
www.qtech.ru
ipv6
]
[
source-interface
interface-name ]
The Telnet client can log in to a remote device only when the Telnet server
function of the remote device is enabled, and the network between the
Telnet client and the remote device is normal.
2.2.3
Configure Remote Login via SSH
Configuration Condition
None
Enable the SSH Service of the Device
After the SSH server of a device is enabled, the device accepts the connection request initiated
by the user from the SSH client. After the client passes the authentication, the client can access
the device. After the SSH service of the device is enabled, the SSH service port 22 is monitored.
If the ip ssh server command is used without parameter sshv1-compatible, it indicates that an
SSH client can log in only through SSHv2.
Table 2-4 Enabling the SSH service of the device
Step
Command
Description
Enter
the
global
configuration mode.
configure terminal
-
Enable the SSH service of
the device.
ip ssh server [ sshv1-
compatible ] [ listen-port
]
Mandatory.
By
default,
the
SSH
service is disabled.
Take the Device as an SSH Client for Remote Login
The device acts as an SSH client to log in to the specified SSH server remotely through the
SSHv1 or SSHv2 protocol. During the login, a user name and a password are required for
authentication from the SSH server.
Table 2-5 Taking an SSH client for remote login
Step
Command
Description