怎么利用虚拟服务器登陆line,关于使用HCL进行设备的远程登录的方法和体会

fff63185a04e1fce3f09e3c0f487b62f.png

主机参考:服务器测评参考推荐网,专注分享服务器优惠信息!如果您想在本站投放您的广告,查看详情!提供软文收录/测评收录合作,免费赠送文章置顶,当天刊发,查看详情!

部分文章发布时间较久远,可能存在未知因素,购买时建议在本博客搜索商家名称,可查看相关文章充分了解商家!若非中文页面可使用谷歌浏览器同步翻译!免费推广,择优刊发

大家都知道远程登录的好处,在这我就不再说明了,下面我们将要使用华三的模拟器HCL,配置一个简单的远程登录,这里将介绍通过Telnet以及Ssh协议实现远程登录。

一,首先打开HCL,绘制一个简单的拓扑图,如下。ps:由于HCL模拟器的虚拟主机无法进行远程登录测试,所以这里使用的是本地主机进行测试。

二、打开设备命令窗口,配置相关参数,使得设备能够进Telnet登录或者ssh登录,下面将分别介绍。Telnet :system-view telnet server enable (开启Telnet服务)int g 0/0 ip add 192.168.1.1 24(配置远程登录ip)quitline vty 0 set authentication password simple 123456(配置认证方式以及口令)user-role network-admin(配置登录账户)saveps:测试Telnet前需要将Windows的Telnet客户端打开,需要将网络适配器的IP地址与设备远程IP保持同一网段。测试:

SSH: ssh server enable

line vty 0 4

authentication-mode scheme(设置认证模式)

protocol inbound ssh(协议设置为ssh)

quit

local-user test(创建一个本地用户)

password simple 123

service-type ssh

authorization-attribute user-role network-admin

测试:采用putty软件进行测试![](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=)

You all know the advantages of remote login. I will not explain it any more. Next, we will use Huasan’s simulator HCl to configure a simple remote login. Here, we will introduce how to realize remote login through telnet and SSH protocol.

1、 First, open HCl and draw a simple topology, as shown below. PS: because the virtual host of the HCl simulator cannot perform the remote login test, the local host is used for the test.

2、 Open the device command window, configure the relevant parameters, so that the device can log in to telnet or SSH, as described below. Telnet: system view telnet server enable (enable telnet service) int G 0 / 0 IP add 192.168.1.1 24 (configure remote login IP) quiet vty 0 set authentication password simple 123456 (configure authentication mode and password) user role Network admin (configure login account) saveps: before testing Telnet, you need to open the telnet client of windows, and keep the IP address of the network adapter and the remote IP of the device in the same network segment. Test:

SSH: ssh server enable

Line vty 04

Authentication mode scheme

Protocol inbound SSH

Quit

Local user test (create a local user)

password simple 123

service-type ssh

authorization-attribute user-role network-admin

=)

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值