HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Can remsh localhost, but not to hostname...
Operating System - HP-UX
1827293
Members
1579
Online
109717
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
02-13-2007 02:29 AM
02-13-2007 02:29 AM
Can remsh localhost, but not to hostname...
Hi,
I'm trying to remsh or rcp to the local machine. I can execute the command:
# remsh localhost date
..and this works ok. However if I do any of the following commands:
# remsh hostname date
# remsh ip_address date
# remsh hostname.domain date
None of these work. There is no error, and the return code from the command is 0. The user's .rhosts files contains just + and name resolution is working fine.
Any ideas?
Many Thanks - Lee
I'm trying to remsh or rcp to the local machine. I can execute the command:
# remsh localhost date
..and this works ok. However if I do any of the following commands:
# remsh hostname date
# remsh ip_address date
# remsh hostname.domain date
None of these work. There is no error, and the return code from the command is 0. The user's .rhosts files contains just + and name resolution is working fine.
Any ideas?
Many Thanks - Lee
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2007 02:30 AM
02-13-2007 02:30 AM
Re: Can remsh localhost, but not to hostname...
shalom,
check hosts.equiv
.rhosts
Host Name Resolution on the system so the hostname you are using resolves to an IP address.
SEP
check hosts.equiv
.rhosts
Host Name Resolution on the system so the hostname you are using resolves to an IP address.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
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
02-13-2007 02:36 AM
02-13-2007 02:36 AM
Re: Can remsh localhost, but not to hostname...
Hi,
As I said, name resolution works OK. The /etc/hosts.equiv file is empty and the users .rhosts file contains + (plus) so access for that user should be granted from anywhere...
The only weird thing is that if i just do remsh hostname i get a successful login message like this...
Last successful login for user: Tue Feb 13 15:30:22 GMT0BST 2007 on pts/7
Last unsuccessful login for user: Mon Feb 12 13:11:25 GMT0BST 2007
However, when I add date or even /usr/bin/date, I get nothing. What I am actually trying to do though is rcp from the localhost to itself. When I try to do this I get the following...
rcp -p /myfile1 hostname:/data/
rcp: lost connection
Now the only thing I can imagine, is that this is because the host has two lan interfaces, but I'm not sure how this could be affecting this.
As I said, name resolution works OK. The /etc/hosts.equiv file is empty and the users .rhosts file contains + (plus) so access for that user should be granted from anywhere...
The only weird thing is that if i just do remsh hostname i get a successful login message like this...
Last successful login for user: Tue Feb 13 15:30:22 GMT0BST 2007 on pts/7
Last unsuccessful login for user: Mon Feb 12 13:11:25 GMT0BST 2007
However, when I add date or even /usr/bin/date, I get nothing. What I am actually trying to do though is rcp from the localhost to itself. When I try to do this I get the following...
rcp -p /myfile1 hostname:/data/
rcp: lost connection
Now the only thing I can imagine, is that this is because the host has two lan interfaces, but I'm not sure how this could be affecting this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2007 03:05 AM
02-13-2007 03:05 AM
Re: Can remsh localhost, but not to hostname...
Multi-homed host will effect any remote authentication.
rlogin to server and enter password. Then do a who -R to identify what host/IP you are coming from.
If you come in the front door and authentication happens out the back door it will not work.
rlogin to server and enter password. Then do a who -R to identify what host/IP you are coming from.
If you come in the front door and authentication happens out the back door it will not work.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP