Telnet(远程登录)

Telnet(远程登录)

大家都知道,Telnet协议是TCP/IP协议族中的一员,是Internet远程登陆服务的标准协议和主要方式。它为用户提供了在本地计算机上完成远程主机工作的能力。在终端使用者的电脑上使用telnet程序,用它连接到服务器。终端使用者可以在telnet程序中输入命令,这些命令会在服务器上运行,就像直接在服务器的控制台上输入一样。可以在本地就能控制服务器。要开始一个telnet会话,必须输入用户名和密码来登录服务器。Telnet是常用的远程控制Web服务器的方法。

实验:(思科模拟器)

先配置电脑IP和交换机vlan1地址,VLAN1默认是关闭的需要no shut开启

<Switch>

<Switch>en

Switch#conf t

Enter configuration commands, one per line. End with CNTL/Z.

Switch(config)#int vlan 1

Switch(config-if)#no shut

Switch(config-if)#ip add 192.168.1.1 255.255.255.0

Switch(config-if)#ex

Switch(config)#username yan privilege 15 password 123

Switch(config)#line vty 0 4

Switch(config-line)#login local

Switch(config-line)#transport input telnet

Switch(config-line)#ex

% Ambiguous command: "ex"

Switch(config-line)#

测试:Pc0输入telnet 192.168.1.1输入用户名和密码即可:

版权声明:

作者: freeclashnode

链接: https://www.freeclashnode.com/news/article-3082.htm

来源: FreeClashNode

文章版权归作者所有,未经允许请勿转载。

免费节点实时更新

热门文章

最新文章

归档