HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
cancel
Showing results for 
Search instead for 
Did you mean: 

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
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