- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Problems with remsh ... odd
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
08-02-2001 11:32 AM
08-02-2001 11:32 AM
Problems with remsh ... odd
remsh server -l user ...works just great!
but when I type
remsh server -l user command ...I get this error: rcmd: primary connection shut down.
I cannot issue commands from this system to any other system (trusted) via remsh at all.
Any Ideas anyone?
The man page indicates a possible problem with security in inetd. I checked and all is well there (inetd.sec).
Note: the system is slightly different in that there is a bridge router between the HPUX box and the main network. It is a cayman 2E and is doing NAT (Network Address Translation). I have check the settings and protocols and all protocals are being allowed (rlogin,nfs,ftp,etc). I can do rsh from another remote SUN or remsh from other HP systems INTO the problem system above with no problem...I just can't do it FROM the problem system.
Any ideas appreciated! Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2001 11:40 AM
08-02-2001 11:40 AM
Re: Problems with remsh ... odd
Try remsh server -l username -n command. It is silly but you never know.
If remsh server -l username is working that means remsh is working.
Try remsh server command.
If this doesn't work then check that users $HOME/.rhosts file.
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2001 12:00 PM
08-02-2001 12:00 PM
Re: Problems with remsh ... odd
.rhosts file is fine too. But sad to say the problem still exists.
Thanks Sachin for the help....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2001 11:11 PM
08-02-2001 11:11 PM
Re: Problems with remsh ... odd
remsh server command
rather than with the -l user
try quoting " " the command..
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2001 09:32 AM
08-03-2001 09:32 AM
Re: Problems with remsh ... odd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2001 09:38 AM
08-03-2001 09:38 AM
Re: Problems with remsh ... odd
The line in inetd.conf should be:
shell stream tcp nowait root /usr/lbin/remshd remshd
Remove any reference to "shell" in inetd.sec and retry.
Carsten
In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move. -- HhGttG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2001 09:49 AM
08-03-2001 09:49 AM
Re: Problems with remsh ... odd
I can remsh host -l user to anywhere just fine and vice versa.
I cannot remsh host -l user command OUT of the system at all...the error still occurs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2001 10:16 AM
08-03-2001 10:16 AM
Re: Problems with remsh ... odd
But I have one more idea. Check your DNS setup, specifically check whether localost/loopback is correctly resolved as 127.0.0.1.
Carsten
In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move. -- HhGttG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2001 10:22 AM
08-03-2001 10:22 AM
Re: Problems with remsh ... odd
I checked how localhost and looback are resolved. I used nslookup. The nsswitch file is set up to resolve files then DNS then NIS.
Both loopback and localhost resolve to 127.0.0.1
rgds
guy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2001 11:28 AM
08-03-2001 11:28 AM
Re: Problems with remsh ... odd
Are you doing
#remsh server -l user (as a root?)
and #remsh server -l user command (as a root too?)
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2001 11:40 AM
08-03-2001 11:40 AM
Re: Problems with remsh ... odd
I have solution for your problem.
I just created problem here like
1. client & server are using nis for password.
So I run
client#remsh server date (It works great as root)
Then
client#sachin>remsh server date (It works as sachin)
But client# remsh server -l sachin date (didn't work)
On server I edit /etc/passwd file and add my name just above "+::-2:-2::..." line with blank password.
Now on client
#remsh server -l sachin date (works)
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2001 02:24 PM
08-03-2001 02:24 PM
Re: Problems with remsh ... odd
Just a thought how does the .rhosts file look on the box you are trying to remsh to?
192.xxx.xx.xxx +
will let everyone in.
192.xxx.xx.xxx root
will only let root in.
Richard