Operating System - HP-UX
1753544 Members
5708 Online
108795 Solutions
New Discussion

Re: remshd: Login incorrect

 
Mirage2000
Occasional Contributor

remshd: Login incorrect

Hi,

 

I am trying to copy a file from non root account to another machine. 

I have updated .rhosts file by adding + +. I tried logging into that machine using remsh and it was successfull.  I tried to run below command to copy a file to destination server.

rcp sample.out machine1:/tmp

rsh: socket closed
rsh: socket closed
rsh: machine1: Server rejected authentication (during sendauth exchange)
rsh: Error from rshd at machine1:
remshd: Login incorrect.

 

I am not sure where I am missing here... So I need your help guys..

Mirage
2 REPLIES 2
Robert_Jewell
Honored Contributor

Re: remshd: Login incorrect

rsh: socket closed

 

Can you perform an "rlogin" between hosts (yes, you will be prompted for a password, but will the connection be established)?

 

Perhaps scp is a better option?

 

-Bob

----------------
Was this helpful? Like this post by giving me a thumbs up below!
Mirage2000
Occasional Contributor

Re: remshd: Login incorrect

Thanks for the reply Robert!

 

I tried connecting my destination server using rlogin and indeed connection was established.  Though scp worked for me, I am bit vary to use it as it requires a lot of changes to be done in my automation framework, so I want to stick with rcp.

 

Mirage