- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: unable to do telnet or rlogin
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2006 06:30 PM
03-16-2006 06:30 PM
unable to do telnet or rlogin
i am unable to connect to the unixmachine( HP UX 11.31_ic135) , but from that machine iam able to connect to the other machine.
I tried insf -e also , i tried nfs.server,nfs.client stop and start.
error will be for rlogin is
rcmd_af: connect:hostname:connection refused
error while i do telent
could not open a connection to a hostname port23: connection failed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2006 06:58 PM
03-16-2006 06:58 PM
Re: unable to do telnet or rlogin
From HP-UX Machine:
1) Check /etc/inetd.conf file shell entry in that.
shell stream tcp nowait root /usr/lbin/remshd remshd
kshell stream tcp nowait root /usr/lbin/remshd remshd -K
has to be there to get r* commands execution
2) For telnet problem:
Check /etc/inetd.conf file for,
telnet stream tcp nowait root /usr/lbin/telnetd telnetd
# netstat -na | grep -E '23.*LISTEN'
to has LISTEN status.
Try this!
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2006 08:39 PM
03-16-2006 08:39 PM
Re: unable to do telnet or rlogin
i tried rlogin localhost, it says connestion failed, but from that box, ican able to rlogin .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2006 09:37 PM
03-16-2006 09:37 PM
Re: unable to do telnet or rlogin
>>>>>>
After that do as,
# inetd -c
inetd has to be reconfigured.
i tried rlogin localhost, it says connestion failed, but from that box, ican able to rlogin .
>>>
If it is not working after that check /etc/services file for,
exec 512/tcp # remote execution, passwd required
login 513/tcp # remote login
shell 514/tcp cmd # remote command, no passwd used
contents.
It will surely work.
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2006 09:57 PM
03-16-2006 09:57 PM
Re: unable to do telnet or rlogin
i tried inetd -c , there was no further display it returned to the prompt
I had check etc/servives following exec 512/tcp login 513/tcp shell 514/tcp is there
it will be greatful if u can help resolving the issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2006 06:55 AM
03-17-2006 06:55 AM
Re: unable to do telnet or rlogin
send inetd a HUP signal.
Usually 'killall -HUP inetd' will do the
trick.
Check telnetd is listing with
'netstat -lnt | grep 23', if not you can't
connect.
Also check /etc/hosts.allow and
/etc/hosts.deny.
Better yet, abandon telent, rlogin, and, rsh.
Use ssh instead, it is much more secure.
By default most distributions disable
telnet, rlogin, rsh, et al for a good reason.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2006 09:47 PM
03-19-2006 09:47 PM
Re: unable to do telnet or rlogin
have you change disable = yes
to disable = no
in /etc/xinetd.d/rlogin ?
(maybe kill -HUP on inetd as instructed above)
Jean-Yves Picard
Linux is not unix, some old trick don't work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2006 01:14 PM
03-20-2006 01:14 PM
Re: unable to do telnet or rlogin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2006 03:55 PM
03-20-2006 03:55 PM
Re: unable to do telnet or rlogin
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2006 05:31 PM
03-20-2006 05:31 PM
Re: unable to do telnet or rlogin
I'm not sure of Hp-UX's policy, but telnet may be off by default because it is not secure enough (cleartext passwords over the network).
You may also try telnet from HP-UX server to itself as a test.
Check /etc/hosts.allow / deny.
Any messages in /var/adm/syslog/syslog.log?
JP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2006 10:07 PM
03-20-2006 10:07 PM
Re: unable to do telnet or rlogin
, now there is a turning point , i can able to rlogin , but it say login incorrect, when i type 'root' and it displays connection to the host lost.