telnet: connect to address 192.168.1.103: Connection refused
来源:互联网 发布:背单词软件排名 编辑:程序博客网 时间:2024/05/16 17:53
解决问题:
tcp 0 0 0.0.0.0:23 0.0.0.0:* LISTEN
Connected to localhost (192.168.1.103).
Escape character is '^]'.
Red Hat Enterprise Linux AS release 4 (Nahant Update 8)
Kernel 2.6.9-89.EL on an x86_64
login: root
Password:
Login incorrect
[root@rac3 ~]# passwd fei
[oracle@localhost ~]$ telnet 192.168.1.103
Trying 192.168.1.103...
Connected to localhost (192.168.1.103).
Escape character is '^]'.
Red Hat Enterprise Linux AS release 4 (Nahant Update 8)
Kernel 2.6.9-89.EL on an x86_64
login: root
Password:
Login incorrect
login: fei
Password:
[fei@rac3 ~]$
[root@rac3 ~]#
ssh 192.168.1.103
# netstat -tnl |grep 23
rpm -qa telnet-server
# vi /etc/xinetd.d/telnet
把disable = yes
修改为:
disable = no
# service xinetd restart# netstat -tnl |grep 23tcp 0 0 0.0.0.0:23 0.0.0.0:* LISTEN
再次尝试远程登录
# telnet 192.168.1.103
Trying 192.168.1.103...Connected to localhost (192.168.1.103).
Escape character is '^]'.
Red Hat Enterprise Linux AS release 4 (Nahant Update 8)
Kernel 2.6.9-89.EL on an x86_64
login: root
Password:
Login incorrect
总是提示密码不正确
主机 192.168.1.103,添加一个普通用户,尝试使用此普通用户登录
[root@rac3 ~]# useradd fei[root@rac3 ~]# passwd fei
[oracle@localhost ~]$ telnet 192.168.1.103
Trying 192.168.1.103...
Connected to localhost (192.168.1.103).
Escape character is '^]'.
Red Hat Enterprise Linux AS release 4 (Nahant Update 8)
Kernel 2.6.9-89.EL on an x86_64
login: root
Password:
Login incorrect
login: fei
Password:
[fei@rac3 ~]$
使用普通用户登录后,再切换到root
[fei@rac3 ~]$ su -
Password:[root@rac3 ~]#
原来是为了安全,限制了root用户登录。
- telnet: connect to address 192.168.1.103: Connection refused
- telnet: connect to address 127.0.0.1: Connection refused
- 【转载】telnet: connect to address 127.0.0.1: Connection refused
- telnet: connect to address 127.0.0.1: Connection refused
- telnet: connect to address 127.0.0.1: Connection refused
- telnet: connect to address 127.0.0.1: Connection refused问题
- telnet: connect to address 127.0.0.1: Connection refused解决
- telnet 安装---telnet: connect to address 127.0.0.1: Connection refused问题 ----
- 阿里云安装svn失败,提示telnet: connect to address Connection refused的解决办法
- 解决telnet: connect to address 127.0.0.1: Connection refused的错误信息(2)
- linux telnet 之 telnet: Unable to connect to remote host: Connection refused
- linux memcached telnet 出现 Connection refused ,Unable to connect to remote host
- rsync: failed to connect to 192.168.2.9: Connection refused
- ssh :connect to host 192.168.0.7 port 22: Connection refused
- connect to host **** port 22: Connection refused
- Failed to connect to remote VM. Connection refused. Connection refused: connect
- eclipse远程调试时出现:Failed to connect to remote VM. Connection refused. Connection refused: connect
- Failed to connect to remote VM. Connection refused. Connection refused: connect
- poj 2752 Seek the Name, Seek the Fame (KMP)
- Apache JMeter【对软件做压力测试】
- mysql高效编程阅读摘要--基础篇
- Java高级特性之内存模型(一)
- 成为项目经理必须学习的工具,你知道多少?
- telnet: connect to address 192.168.1.103: Connection refused
- JS设计模式之门面模式
- 黑马程序员----Java基础(1)
- Unity3D --day03(js、C#互调)
- 黑马程序员——Java基础一
- 一道关于连续正整数序列和的示例
- linux下的基本网络配置/虚拟机三种网络模式该如何上网指导(视频)
- mysql高效编程阅读摘要--高级应用篇
- 堆栈溢出