- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- remshd: Login incorrect.
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
Discussions
Discussions
Discussions
Forums
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
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-19-2002 06:38 AM
тАО08-19-2002 06:38 AM
new box, so far SSH not installed yet,
until I've got a running sshd I need to transfer files from another box,
try to do it by tar and remsh,
but always get
remshd: Login incorrect.
I've forgotten what to switch to enable remsh commands (don't mean trusted hosts like .rhost, password is ok, as as soon as SSH is installed I won't use remsh anymore.
I looked at /etc/inetd.conf but looks ok.
I also produced a /etc/shells that contained /bin/remsh
but doesn't change anything.
There is however a inetd.sec file, so I added an allow line for the host from where I want to do the tar and rexec but doesn't help (maybe wrong syntax?)
# grep -v ^# /var/adm/inetd.sec
dtspc allow 127.0.0.1 loopback rubiconx
rexecd allow 10.45.11.123
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2002 06:44 AM
тАО08-19-2002 06:44 AM
SolutionIf it is a problem with inetd.sec, then the connection would be refused. So, your inetd.sec is ok. I dont' think syntax of your command is the culprit here as it is trying to connect to the system.
1. Look at your .rhosts file (in the home directory)on the remote host and make sure the syntax of the file is correct. "system_name login".
2. Enable connection logging of inetd on the remote server by doing an inetd -l. Then look at /var/adm/syslog/syslog.log while doing a remsh/rlogin onto the box. You may find errors there.
If it is not the .rhosts, then it could be that remote host is resolving the IP of your source host differently.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2002 06:47 AM
тАО08-19-2002 06:47 AM
Re: remshd: Login incorrect.
login stream tcp nowait root /usr/lbin/rlogind rlogind
shell stream tcp nowait root /usr/lbin/remshd remshd
You dont need /etc/shells - we dont use them, remove it. /var/adm/inetd.sec should only have one line active;
/vdtspc allow 127.0.0.1 loopback flowers
Sometimes it can take some time before inetd rereads its conf file and same for inetd.sec
Cant think of much else apart from password stuff which would give you login denied - maybe reverse lookup ? dns ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2002 06:48 AM
тАО08-19-2002 06:48 AM
Re: remshd: Login incorrect.
# inetd -c
And check again
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2002 06:50 AM
тАО08-19-2002 06:50 AM
Re: remshd: Login incorrect.
You should check /var/adm/inetd.sec file
check for login,shell,exec etc.. should be allow to your new box
-Goodluck
-USA..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2002 06:50 AM
тАО08-19-2002 06:50 AM
Re: remshd: Login incorrect.
I think you're going to need to create .rhosts and/or /etc/hosts.equiv - at least temporarily. I would do both and list both hosts in each of the files (on both hosts). When you've SSH running, you can go back and get rid of the .rhosts and hosts.equiv.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-19-2002 06:54 AM
тАО08-19-2002 06:54 AM