Configuration manual
2. System Login
24
www.qtech.ru
Device2(config)#ip ssh server
Step 3:
Set the login authentication mode to local authentication.
Device2>enable
Device2#configure terminal
Device2(config-line)#line vty 0 15
Device2(config-line)#login local
Device2(config-line)#exit
Step 4:
#On Device1, log in to Device2 through SSH.
#Configure Device1.
Device1#ssh version 2 2.0.0.1 22 a auth-method 1 a
The authenticity of host '130.255.168.44' can't be established
DNS SPOOFING is happening or the IP address for the host and its host key
have changed
RSA key fingerprint is 7b:ed:cc:81:cf:12:36:6f:f7:ff:29:15:63:75:64:10.
Are you sure you want to continue connecting (yes/no)? yes
Please type 'yes' or 'no': yes
Step 7:
Check the result.
If the login succeeds, the shell screen of Device2 is displayed.
If the "Connection closed by foreign host" message is displayed, it indicates
that the SSH service of the peer end is disabled, or the inputted user name
or password is incorrect.
The SSH server can be configured not to use authentication. If the SSH
server does not use authentication, when a client logs in, a user can use any
character string as the user name and password.