- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- remsh connection refused
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
07-10-2003 08:11 PM
07-10-2003 08:11 PM
remsh connection refused
It's not coming back.
Reenabled in /etc/inetd.conf and restarted inetd. No joy. I can telnet from box to box, but not remsh.
Whatthe...?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2003 08:14 PM
07-10-2003 08:14 PM
Re: remsh connection refused
# netstat -an
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2003 08:18 PM
07-10-2003 08:18 PM
Re: remsh connection refused
can you give some more info, like how you stop remsh and how you ar enabling it ?
Sunil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2003 08:18 PM
07-10-2003 08:18 PM
Re: remsh connection refused
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2003 08:20 PM
07-10-2003 08:20 PM
Re: remsh connection refused
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2003 08:23 PM
07-10-2003 08:23 PM
Re: remsh connection refused
The usernames match?
Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2003 08:24 PM
07-10-2003 08:24 PM
Re: remsh connection refused
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2003 08:29 PM
07-10-2003 08:29 PM
Re: remsh connection refused
Do a 'man remsh' and I believe it tells you right in there. Go the .rhosts route though if you just want to do this for a single user.
Test it by creating an .rhosts on the target, inside it have the source host name. Then su to her account on the source and try the remsh.
(I just dialed into work and tested it and it worked after I created an .rhost for the user.)
Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2003 08:30 PM
07-10-2003 08:30 PM
Re: remsh connection refused
host_source
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2003 08:32 PM
07-10-2003 08:32 PM
Re: remsh connection refused
Secure shell
http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=T1471AA
Exchange public keys with the user according to attached doc....
And finish the good thing you started.
Also, short term, check /var/adm/inetd.sec for blocks you might have set up.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2003 08:33 PM
07-10-2003 08:33 PM
Re: remsh connection refused
(This file will contain the remote servers name and user name if they are not same on both servers.)
I assume, you remsh enabled in inetd.conf.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2003 08:36 PM
07-10-2003 08:36 PM
Re: remsh connection refused
serverA (contents of /etc/hosts.equiv)
serverB myuser
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2003 08:38 PM
07-10-2003 08:38 PM
Re: remsh connection refused
Check the following files on both the machines,
$HOME/.rhosts
/etc/hosts - Check if this file has entries for both the systems. If you are using DNS check /etc/nsswitch.conf.
/var/adm/inetd.sec - check if remsh is blocked.
Enable inetd logging by "inetd -l" and check for verbose o/p in /var/adm/syslog.log
Regards,
Karthik S S
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2003 08:42 PM
07-10-2003 08:42 PM
Re: remsh connection refused
Her scripts run from 1 box to 4 others. They were working before we disabled remsh, and were not changed afterwards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2003 08:42 PM
07-10-2003 08:42 PM
Re: remsh connection refused
remsh to work u shld have setup either $HOME/.rhosts or /etc/hosts.equiv files.
Best one will be try adding remote host entries in local host like the follg,
Servers .rhosts
hostA hostB root
hostB hostA root
Permissions shld be 644 for .rhosts file..Try out and get back to us..
ATB,
Sudhakar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2003 08:58 PM
07-10-2003 08:58 PM
Re: remsh connection refused
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2003 08:58 PM
07-10-2003 08:58 PM
Re: remsh connection refused
Hi
If you're still having problems then post the output of the commands:
# grep shell /etc/inetd.conf
# grep shell /etc/services
# grep shell /var/adm/inetd.sec
# ll /home/
# ll /etc/hosts.equiv
Cheers
Con
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2003 08:59 PM
07-10-2003 08:59 PM
Re: remsh connection refused
Box2 user xxx
Box3 user xxx
Box4 user xxx
xxx has got .rhosts in his home dirs on all servers.
telnet to box2 from box1.
do who -u, check your login and last coloumn.
What you see in last column should be in .rhosts file on box2
Check same for other boxex.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2003 09:02 PM
07-10-2003 09:02 PM
Re: remsh connection refused
shell stream tcp nowait root /usr/lbin/remshd remshd
kshell stream tcp nowait root /usr/lbin/remshd remshd -K
csmorstg:/home/tmp2195f>grep shell /etc/services
shell 514/tcp cmd # remote command, no passwd used
kshell 544/tcp krcmd # Kerberos remote shell -kfall
ekshell 545/tcp krcmd # Kerberos encrypted remote shell -kfall
csmorstg:/home/tmp2195f>grep shell /var/adm/inetd.sec
shell allow 15.* 130.27.* 130.29.* 130.30.* 130.168.* 134.40.* 141.121.*
csmorstg:/home/tmp2195f>ll /home/bvstage/.rhosts
-rw-r--r-- 1 bvstage users 148 Jan 9 2003 /home/bvstage/.rhosts
csmorstg:/home/tmp2195f>ll /etc/hosts.equiv
-r-------- 1 root sys 25 Mar 15 2001 /etc/hosts.equiv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2003 09:03 PM
07-10-2003 09:03 PM
Re: remsh connection refused
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2003 09:05 PM
07-10-2003 09:05 PM
Re: remsh connection refused
User just emailed me to say it's working.
#include rolleyes.h
Thanks to all,
Coinneach
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2003 09:35 PM
07-10-2003 09:35 PM