The method and experience of remote login of devices by using HCL
We all know the benefits of remote login, I will not explain here, next we will use Huasan's simulator HCL to configure a simple remote login, here we will introduce the implementation of remote login through Telnet and Ssh protocol.
First, open HCL and draw a simple topology diagram, as follows.
Ps: since the virtual host of the HCL simulator cannot be tested for remote login, the local host is used here for testing.
Second, open the device command window and configure the relevant parameters so that the device can log in to Telnet or ssh, which will be described below.
Telnet: system-view
Telnet server enable (enable Telnet service)
Int g 0/0
Ip add 192.168.1.1 24 (configure Telnet ip)
Quit
Line vty 0
Set authentication password simple 123456 (configure authentication method and password)
User-role network-admin (configure login account)
Save
Ps: the Telnet client of Windows needs to be opened before testing Telnet, and the IP address of the network adapter needs to be kept on the same network segment as the remote IP of the device.
Test:
SSH: ssh server enable line vty 0 4 authentication-mode scheme (set authentication mode) protocol inbound ssh (protocol set to ssh) quit local-user test (create a local user) password simple 123 service-type ssh Authorization-attribute user-role network-admin testing: using putty software for testing! [] (https://s1.51cto.com/images/blog/201903/11/052ba6b3746566549d9e75de2001d5d2.png?x-oss-process=image/watermark, Size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3poZW5naGVpdGk=)