1833770 Members
2449 Online
110063 Solutions
New Discussion

remshd: Login incorrect.

 
SOLVED
Go to solution
SM_3
Super Advisor

remshd: Login incorrect.

I 'm executing
#/tmp/make_sys_image -s 168.141.170.99

and this happens

remshd: Login incorrect.
ERROR: remsh failed: /usr/bin/remsh 168.141.170.99 -l root cat >/var/tmp/pilot.gz
* Cleanup: Do Not interrupt, restoring files, kernel, and transition links.

I have searched on this problem to no avail
Can somone help
17 REPLIES 17
someone_4
Honored Contributor

Re: remshd: Login incorrect.

Hi,

Do
remsh 168.141.170.99 hostname

It will prolly fail too. If it does check the .rhosts file in the 168.141.170.99 server and make sure that the server you are comming from is in there so it will allow remsh.

the .rhost file should have an entry that looks looks like this

ip.of.the.server root

~Richard
Pete Randall
Outstanding Contributor

Re: remshd: Login incorrect.

Do you have a .rhosts file which references your starting point server in place on the server your target server (and vice/versa is probably a good idea)? You're doing this as root, correct? The root password is the same on both machines, right?

Pete

Pete
SM_3
Super Advisor

Re: remshd: Login incorrect.

I'm doing this on the local machine.
That is 168.141.170.99 is the local machine

The make sys image is to be archived on the local machine, under /var/tmp.
Victor_5
Trusted Contributor

Re: remshd: Login incorrect.

Got it from man page:

-s IP|local IP address of server to send archive to or local. if the destination is a local file system, nfs mount, disk or tape. If the destination isn't local, permission to remotely access the server is required. There is no default destination unless you have installed the Ignite-UX product. In this case, the default destination is the Ignite-UX server if it can be determined by the /tmp/install.vars or
/var/opt/ignite/local/host.info files.

"If the destination isn't local, permission to remotely access the server is required." So check your .rhosts file.
SM_3
Super Advisor

Re: remshd: Login incorrect.


Richard
remsh 168.141.170.99 hostname results in
pilot, which is the hostname
Ted Ellis_2
Honored Contributor

Re: remshd: Login incorrect.

root has a suitable .rhost entry for the machine you are running this remsh from? Can you rlogin to the same server as root? You also need to verify that the server for which the image is being created can access 168.141.170.99... another clean .rhost entry for root. Check the rlogin process.
Ted Ellis_2
Honored Contributor
Solution

Re: remshd: Login incorrect.

if archiving on the local machine.. think you want the command to be
/tmp/make_sys_image -s local
SM_3
Super Advisor

Re: remshd: Login incorrect.

Ted

-s local looks good so far....
may just do it
will let you know

I can rlogin to pilot 168.141.170.99 from another machine.
SM_3
Super Advisor

Re: remshd: Login incorrect.

-s 168.141.170.99 worked last night
today it doesn't

-s local so far so good
SM_3
Super Advisor

Re: remshd: Login incorrect.

Victor

you still there
Victor_5
Trusted Contributor

Re: remshd: Login incorrect.

Yes, what's up?
SM_3
Super Advisor

Re: remshd: Login incorrect.

Victor
you're first reply contained the correct answer.
I overlooked- it was a 10/10
SM_3
Super Advisor

Re: remshd: Login incorrect.

make_sys_image -s local worked
there was an exit code 4
Is this normal?

* Archiving contents of pilot via tar to
/var/tmp/pilot.gz.
* Creation of system archive complete
* Cleanup: Do Not interrupt, restoring files, kernel, and transition links.

# echo $?
4

Victor_5
Trusted Contributor

Re: remshd: Login incorrect.

Don't worry about the point, glad to know you resolved the problem. Have a great weekend!
keith persons
Valued Contributor

Re: remshd: Login incorrect.

SM,

Why not put an entry root's .rhosts for file pilot? Then verify by doing a rlogin pilot or the ip - should work fine after that.

keith
keith persons
Valued Contributor

Re: remshd: Login incorrect.

p.s. provided you don't have a /etc/securetty file that is.

keith
SM_3
Super Advisor

Re: remshd: Login incorrect.

Keith
rlogin works as it is

but thanks for the reply