linux怎么安装telnet
要开始使用 Telnet 服务,键入如下命令以连接到远程服务器: telnet ip_address / server_name其中 ip_address 是服务器的 IP 地址, server_name 是服务器的名称。备注:默认情况下,服务器使用 NTLM 身份验证,并提示输入用户名和密码。telnet服务器默认已经安装在windows中,如何打开telnet服务?sc config tlntsvr start= auto 自动sc config tlntsvr start= disabled 已禁用sc config tlntsvr start= demand 手动注意=后面有个空格net start telnet 启动telnet服务net stop telnet停止telnet服务一、安装telnet软件包(通常要两个)。1、 telnet-client (或 telnet),这个软件包提供的是 telnet 客户端程序;2、是 telnet-server 软件包,这个才是真正的 Telnet server 软件包!安装之前先检测是否这些软件包已安装,方法如下:[root@localhost ~]# rpm -q telnettelnet-0.17-38.el5telnet客户端一般默认情况是已安装[root@localhost ~]# rpm -q telnet-server无表示未安装二、安装telnet-server运行命令安装:[root@localhost cdrom]# rpm -ivh --force telnet-server-0.17-39.el5.i386.rpmwarning: CentOS/telnet-server-0.17-39.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID e8562897error: Failed dependencies:xinetd is needed by telnet-server-0.17-39.el5.i386在这里提示安装出错,需要xinetd依赖包,那我们就先装它吧![root@localhost cdrom]# rpm -ivh --force xinetd-2.3.14-10.el5.i386.rpmwarning: CentOS/xinetd-2.3.14-10.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID e8562897Preparing...########################################### [100%]1:xinetd ########################################### [100%]安装完成下面我们来安装telnet-server[root@localhost cdrom]# rpm -ivh --force telnet-server-0.17-39.el5.i386.rpmwarning: CentOS/telnet-server-0.17-39.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID e8562897Preparing...########################################### [100%]1:telnet-server########################################### [100%]现在可以正常安装了,安装完成下面我们需要配置服务!三、配置服务1、开启服务方法一:使用ntsysv,在出现的窗口之中,将 telnet 勾选起来,然后按下 OK 即可 !空格键 “选择” ,tab键"确定&取消"方法二:编辑 /etc/xinetd.d/telnet#vi /etc/xinetd.d/telnet[root@localhost cdrom]# vi /etc/xinetd.d/telnet方法三:root@localhost cdrom]# chkconfig telnet on #设置在启动系统时,启动telnet服务2、激活服务telnet 是挂在 xinetd 底下的,所以自然只要重新激活 xinetd 就能够将 xinetd 里头的设定重新读进来,所以刚刚设定的 telnet 自然也就可以被激活。[root@localhost cdrom]# service xinetd start启动 xinetd:[确定]四、测试服务C:>telnet 192.168.13.55Red Hat Enterprise Linux Server release 5.1 (Tikanga)Kernel 2.6.18-53.el5 on an i686login:参考书籍:http://books.google.cn/books?id=9-J_jjcTTiwC&pg=RA1-PT8&lpg=RA1-PT8&dq=l%E5%AE%89%E8%A3%85telnet-server-0%5B1%5D.17-25.i386.rpm&source=bl&ots=1XYEm0SUAb&sig=AoWczrjw__cKR732M9YBtUhqSfA&hl=zh-CN&ei=54iDStitN4iVkAWS-fGxBw&sa=X&oi=book_result&ct=result&resnum=1#v=onepage&q=&f=false再次话说 启动telnet的三种方法:1.使用命令# chkconfig --add telnet# chkconfig telnet on2.编辑文件 /etc/xinetd.d/telnet将语句 disable = yes 改成 disable = no 保存退出。重启服务: service xinetd restart3.图形界面找到telnet一项,然后按空格,选中该项。选择OK退出。重启服务: service xinetd restart注意 如果装系统的时候带上了防火墙需要# iptables -F #关闭防火墙才能远端telnet到服务器默认情况不能用root身份登陆!!!修改 /etc下securetty文件可以以root身份登陆在tty11下加入pts/0pts/1pts/2pts/3pts/4pts/5pts/6pts/7pts/8 pts/9

怎样装telnet服务
打开“控制面板”>"程序和功能" >"打开和改变windows功能"选中 telnet 相关项即可
第一步:[root@localhost etc]# cd /dev/cdrom /mnt/cdr把服务文件(即压缩包)挂载到cdr上面去第二步[root@localhost etc]# cd /mnt/cdr[root@localhost cdr]# ls1.先进去cdr里面,然后进入Server里cd Server 后ls Server,用[root@localhost Server]# ls xinetd*xinetd-2.3.14-10.el5.i386.rpm2.找到网络守护进程xinetd,安装它 rpm -ivh xinetd-2.3.14-10.el5.i386.rpm 3.再安装telnet服务器,同样先是找到telnet相关的文件包可以查找是否安装telnet:[root@localhost Server]# rpm -q telnettelnet-0.17-38.el54.查看telnet是否开启可以用(看各种服务器的状态):[root@localhost Server]# chkconfig --list查找telnet相关的文件安装包:[root@localhost Server]# ls telnet*telnet-0.17-38.el5.i386.rpm telnet-server-0.17-38.el5.i386.rpmserver为服务器,而telent为客户端rpm 两个!5.然后关掉防火墙setup进入关闭查看防火墙的状态:service iptables status (后接restart start stop等)6.改强制安全策略:setenforce 0查看安全策略:getenforce7.cd /etc找到xinetd.d中的telent然后vi telent,改disable为no然后重启服务器service xinetd restart8.vi hosts 在最后一行加上电脑的ip以及计算机名称9.重启xinetd以及network10.在cmd界面telnet 192.168.1.227连linux系统,出现login输入普通用户的账号和密码。创建普通用户的装好和密码的方法:useradd qiusen(用户名)passwd qiusen会出现输入密码提示。连续输入两次即可!用普通用户登录时会出现与linux相同的界面telnet服务的目的是为了人能在远程操作linux系统。

centos 7的telnet安装包在哪
你是安装的是最小化安装吧,输入 yum 命令yum install telnet -y就好了。具体可见http://baike.baidu.com/item/centos@http://www.linuxprobe.com/

菜鸟求教telnet安装
一.查看本机是否有安装telnet(centOS5默认有安装telnet) # rpm -qa |grep telnet如果显示结果为:telnet-0.17-39.el5telnet-server-0.17-39.el5那恭喜你,机器上已经安装了telnet。如果没有安装,请看下一步。特别说明:telnet分为telnet-client (简称为telnet)和telnet-server。telnet-client系统(CentOs 5.5)一般默认已经安装。telnet-server需要单独安装。二、安装telnet第一种方法(在线安装):可使用命令:#yum install xinetd (注意在root下安装)#yum install telnet -server(注意在root下安装)第二种方法(光盘安装法):cd /光盘/CentOSrpm -ivh xinetd-2.3.14-10.el5.i386.rpmrpm -ivh telnet-server-0.17-39.el5.i386.rpm特别说明:1、telnet服务要依靠xinetd服务启动,所以要先安装xinetd服务。所以我们要先安装xinetd,再安装telnet-server。CentOS 5.5默认没有安装telnet和xinetd服务。2、CentOS-5.5-i386-bin-DVD里面有xinetd和telnet-server和安装包!!不需要上网下载!!三.配置telnet方法一:使用ntsysv,在出现的窗口之中,将 telnet 勾选起来,然后按下 OK 即可!方法二:使用chkconfig命令直接开启#chkconfig telnet on方法三:直接修改配置文件vi /etc/xinetd.d/telnet一般是这样子的:# default: yes# description: The telnet server servestelnet sessions; it uses #unencrypted username/password pairs for authentication.service telnet{flags = REUSEsocket_type = streamwait= nouser= rootserver=/usr/sbin/in.telnetdlog_on_failure+= USERIDdisable = yes}只需要将”disable= yes”改成” disable=no”四、激活服务telnet 是挂在 xinetd 底下的,所以自然只要重新激活 xinetd 就能够将 xinetd 里头的设定重新读进来,所以刚刚设定的 telnet 自然也就可以被激活。# servicexinetd restart或者#/etc/rc.d/init.d/xinetd restart五.iptables防火墙会阻止telnet,所以需要在iptables允许,用如下命令当你启动telnet服务后,你可以用netstat –tunlp命令来查看telnet服务所使用的端口,可以发现有23。使用下面命令开启这些端口:iptables -I INPUT -p tcp --dport 23 -jACCEPTiptables -I INPUT -p udp --dport 23 -jACCEPTservice iptables save//保存service iptables restart //重启防火墙或者来点狠的!!关闭防火墙!service iptables stop六、可能的问题:下面我们来看一下二种错误:第一种:[root@linuxchao ~]# telnet 192.168.1.87Trying 192.168.1.87...telnet: connect to address 192.168.1.87: Noroute to hosttelnet: Unable to connect to remote host:No route to host解决方法:这种问题防火墙没有允许telnet服务,连接被阻止,默认CentOS只允许SSH,所以进入其自定义选项,在telnet前打个勾!第二种[root@test xinetd.d]# telnet 172.25.1.3Trying 172.25.1.3...Connected to 172.25.1.3 (172.25.1.3).Escape character is '^]'.getnameinfo: localhost: SuccessTemporary failure in name resolution: Illegal seekConnection closed by foreign host.这一个就是/etc/hosts文件配置问题解决方法:我在里面加两个IP地址,内容如下:[linux@localhost ~]$ more /etc/hosts# Do not remove the following line, orvarious programs# that require network functionality willfail.127.0.0.1localhost.localdomainlocalhost::1localhost6.localdomain6localhost6192.168.1.88192.168.1.86 说明:因为客户机的名字不好记就没写进去,内容格式应为127.0.0.1 pcname
控制面板里面---程序---打开或关闭windows功能,在window功能里面把TELNET服务器还有TELNET客户端都需要开启的,实在不行你下一个第三方软件吧,putty或 SecureCRT这两个都可以的,putty小一点,也不需要安装,654KB,要的话留下邮箱我传你

linux如何开启telnet服务
linux系统你只到吗,他可以开启telnet服务,那linux如何开启telnet服务的呢?下面是我收集整理的linux如何开启telnet服务,希望对大家有帮助~~linux开启telnet服务的方法工具/原料Linuxxinetd-2.3.14-34.el6.x86_64.rpm方法/步骤1. 切换至root用户;2. 如果Linux没有安装telnet服务需要先安装,安装过开通即可;3. 检测telnet的rpm包是否安装[root@localhost ~]# rpm -qa telnettelnet-0.17-48.el6.x86_64[root@localhost ~]#4. 安装telnet安装包:[root@localhost ~]# rpm -ivh xinetd-2.3.14-34.el6.x86_64.rpmwarning: xinetd-2.3.14-34.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEYPreparing... ########################################### [100%]package xinetd-2:2.3.14-39.el6_4.x86_64 (which is newer than xinetd-2:2.3.14-34.el6.x86_64) is already installedfile /usr/sbin/xinetd from install of xinetd-2:2.3.14-34.el6.x86_64 conflicts with file from package xinetd-2:2.3.14-39.el6_4.x86_64[root@localhost ~]#5. 修改telnet服务配置文件vi /etc/xinetd.d/telnetservice telnet{disable = yesflags = REUSEsocket_type = streamwait = nouser = rootserver = /usr/sbin/in.telnetdlog_on_failure += USERID}将disable=yes改为disable=no注意:安装telnet-server服务后,系统才会有/usr/sbin/in.telnetd文件6.重启telnet服务[root@localhost root]#service xinetd restart7. 测试是否可以,若果不行,检查防火墙是否关闭[root@localhost ~]# telnet 127.0.0.1Trying 127.0.0.1...Connected to 127.0.0.1.Escape character is '^]'.CentOS release 6.4 (Final)Kernel 2.6.32-358.el6.x86_64 on an x86_64

本文由 在线网速测试 整理编辑,转载请注明出处,原文链接:https://www.wangsu123.cn/news/45852.html。