- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - Linux
- >
- General
- >
- unable to do telnet or rlogin
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Latin America
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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.
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP