1838193 Members
3969 Online
110125 Solutions
New Discussion

Re: telnet problem

 
Shah Gaurang B.
Frequent Advisor

telnet problem

hello experts,

I am not able to login throgh telnet command but rlogin is working fine . i checked inetd.conf,services files but it seems normal. So what could be the reason.

pl. help me
15 REPLIES 15
Bill Thorsteinson
Honored Contributor

Re: telnet problem

If this applies to root, then it may be
/etc/securetty.

Use ssh instead, it is much more secure.
Marco Santerre
Honored Contributor

Re: telnet problem

maybe telnetd is down.. or can you issue a inetd -c and try it again.
Cooperation is doing with a smile what you have to do anyhow.
HGN
Honored Contributor

Re: telnet problem

Hi

If you have checked the /etc/inetd.conf and found telnet is not commented out then you can do a inetd -c to re-read the file and after that you should be able to login via telnet.

Rgds

HGN
Shah Gaurang B.
Frequent Advisor

Re: telnet problem

marco,

Yes, telnetd is not showing in process. i tried inetd -c but telnet is still not working . There is no securrity file inside.
ssh is also not working. rlogin is working fine.

pl. all off you guide me.
Patrick Wallek
Honored Contributor

Re: telnet problem

What error do you get when you try to log in via telnet? Do you have a /var/adm/inetd.sec file? If so, what are its contents?

You won't see a telnetd daemon unless someone is connected.
John E.Ophious
Regular Advisor

Re: telnet problem

Greetings partner,

Do you have tcpwrappers installed? If so, it could be a host.allow/host.deny issue depending on where you're trying to telnet from. Like others have advised, use ssh.

-John E Ophious
Shah Gaurang B.
Frequent Advisor

Re: telnet problem

Hello all,

There is no any security under /var/adm/inetd.sec file and not any software installed so what could be the reason ? i can't understand even ssh is also not working rlogin is working fine .
Marco Santerre
Honored Contributor

Re: telnet problem

ssh is a different issue.. ssh is started using /sbin/init.d/secsh [start/stop].

If the process sshd is running, then ssh should work. Maybe someone change the port numbers, especially if you said you re-read inetd.conf for your telnet and your sshd is running.

For ssh, check /etc/opt/ssh/sshd_config for the port it should be using and make sure you use the same one.

For telnet, check /etc/services for the port you should be using.


Cooperation is doing with a smile what you have to do anyhow.
Peter Nikitka
Honored Contributor

Re: telnet problem

Hi,

please send the error message of the telnet.

As well send the output of the following commands:
grep telnet /etc/inetd.conf /etc/services
grep service /etc/nsswitch.conf

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
Shah Gaurang B.
Frequent Advisor

Re: telnet problem

there is no errors showing . when apply telnet just show the black screen and than immediatly off the screen . i mark that telnetd is not started i tried it to start but it is not starting .entry in inetd.conf and in service file is fine. work on 23 port number only. telnetd service problem is there but not able to start it.
Ninad_1
Honored Contributor

Re: telnet problem

Gaurang,

As its been mentioned in the responses above - you can see telnetd only when someone has actually telneted - not till then.
I guess you are able to access the server as you said you are trying to see if any telnet is running etc; so can you try telnet from the same server to itself - does it telnet ? This will give an idea whether its problem with telnet - because you said that there is no security policy/setting.

Regards,
Ninad
Shah Gaurang B.
Frequent Advisor

Re: telnet problem

hi,

When i am trying from same console it gives below errortelnet 10.6.0.53
Trying...
Connected to 10.6.0.53.
Escape character is '^]'.
Local flow control off
Connection closed by foreign host.

where is the problem ?
Ninad_1
Honored Contributor

Re: telnet problem

Gaurang,

When you said there is no /var/adm/inetd.sec and no tcpwrappers - I assume that you have checked this on the server you are trying to telnet to.
After you have tried to telnet and it gave you Connection closed - was there any message on the destination server - in /var/adm/syslog/syslog.log , /var/adm/messages. Also as been asked by Peter earlier - can you post the output of
grep telnet /etc/inetd.conf
grep telnet /etc/services

Regards,
Ninad
Shah Gaurang B.
Frequent Advisor

Re: telnet problem

thanks to all for support . niland it was problem due to device file i created it new by insf -e and psuedo drivers and problem is solved . solved throgh forum only.thanks to all once again.
Peter Nikitka
Honored Contributor

Re: telnet problem

Hi Shah,

now when your problem is solved, it's time to assign points...

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"