telnet 登录错误“Failure in initializing the telnet session”

来源:互联网 发布:网络的世界的英文单词 编辑:程序博客网 时间:2024/06/16 21:36
问题描述】服务器系统windows2003,服务启动telnet后,用telnet登陆(windowsxp),结果出现错误: 
Failure in initializing the telnet session. Shell process may not have been launched,Telnet Server has closed the connection.   

【问题分析】如果要telnet登陆,除了开启telnet服务,还要开启Secondary Logon服务。

【解决方法】服务里面开启Secondary Logon服务。

ps:telnet连不上还有多种可能,还有可能是防火墙禁止了23端口(telnet默认端口是23)。
如果在内网,路由器要映射端口。比如(外网24端口,映射内网23端口)
telnet xxx.xxx.xxx.xxx 24
(xxx.xxx.xxx.xxx是外网地址,地址和端口间只有一个空格)

windows 2003下修改telnet端口 (打开CMD命令)
一、修改本地2003的telnet端口方法: tlntadmn config port=23(可以把23改为其它未使用的端口) 
二、修改远程2003的telnet端口方法:tlntadmn config \\xxx.xxx.xxx.xxx port=23 -u administrator -p 123456  
注:\\xxx.xxx.xxx.xxx 对方IP port=23 要修改为的telnet 端口 -u 指定对方的用户名 -p 指定对方用户的密码。
请使用手机"扫一扫"x