Results 1 to 8 of 8
I have a problem with not being able to do self telnet on a server with RHEL 4.0. In another server, self telnet is working fine. Self telnet is required ...
- 06-10-2009 #1Just Joined!
- Join Date
- Nov 2008
- Posts
- 33
Self telnet not working on server with RHEL 4.0
I have a problem with not being able to do self telnet on a server with RHEL 4.0. In another server, self telnet is working fine. Self telnet is required for one of our provisioning integrations to work in our application. The output of both the servers is attached:-
1) Working on server with IP 10.10.10.28
--------------------------------------------------------------------------------------------------------
[root@JISPSERVER_OLD root]# telnet 10.10.10.28
Trying 10.10.10.28...
Connected to 10.10.10.28 (10.10.10.2
.
Escape character is '^]'.
Red Hat Enterprise Linux ES release 3 (Taroon)
Kernel 2.4.21-4.ELsmp on an i686
login: root
Password:
Last login: Wed Jun 3 14:08:48 from 10.10.10.9
You have new mail.
[root@JISPSERVER_OLD root]#
--------------------------------------------------------------------------------------------------------
2) Not working on server with IP 10.10.10.4
--------------------------------------------------------------------------------------------------------
[root@JISPSERVER ~]# telnet 10.10.10.4
Trying 10.10.10.4...
Connected to jisp (10.10.10.4).
Escape character is '^]'.
JISPSERVER (Linux release 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:27:17 EDT 2006) (2)
login: root
Password for root:
Login incorrect
Connection closed by foreign host.
[root@JISPSERVER ~]#
--------------------------------------------------------------------------------------------------------
I hope, my question is clear.
Please, help in solving the doubt.
Regards
- 06-11-2009 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 06-19-2009 #3Just Joined!
- Join Date
- Nov 2008
- Posts
- 33
Hi,
thanks a lot for your answer. Is there a way to check if telnet has been configured properly?
- 06-19-2009 #4Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
Well, since it connects and asks for a user id and password, I think it is configured to be active (see /etc/xinetd.d/telnet settings), but it isn't authenticating the user, which means that the problem is probably not in telnet, but in the system authentication system. Some systems are configured to disallow remote connections by root for security. Make sure you are trying to login with a user account that is valid on the system you are trying to connect with.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 06-20-2009 #5Banned
- Join Date
- Jun 2009
- Posts
- 1
Most likely root login is disabled. To check look at your sshd_config file and verifyt that PermitRoot login is set to "yes". You'll need to HUP or restart sshd for the setting to take effect.
- 06-22-2009 #6Just Joined!
- Join Date
- Nov 2008
- Posts
- 33
thanks, for your answer. I checked the PermitRoot login and saw it is commented as below-
-------------------------------------
#PermitRootLogin yes
-------------------------------------
But, the other server is with RHEL 3.0(10.10.10.2
as written in the post and self telnet is working on that. Should I go ahead with uncommenting the line?
Also, how to HUP or restart sshd and any adverse effect on the server as it is a live server.
Regards
- 06-22-2009 #7Just Joined!
- Join Date
- Nov 2008
- Posts
- 33
sorry, the server is 10.10.10.28 and not a smiley as it came in the reply
- 06-22-2009 #8Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
Yes, you can uncomment it, and restart the sshd service with the command (as root): service sshd restart
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote
