Link to home
Start Free TrialLog in
Avatar of STNoida
STNoida

asked on

"remsh"command giving the error "Connection refused"

Hi,

We are using the "remsh" command  on a UNIX machine.Using this command trying to run a batch file on a windows machine"serv1" .The batch file is stored on a "Netapp" folder.

We are able to run the same command on another windows server "serv2".

The command which we are running is :
remsh serv1 -l rshadmin \\netapp02.\XXX.bat)

getting the error:

rcmd: connect: serv1: Connection refused
tox009:edamgr:/home/edamgr >

I have given  the same access to the account "rshadmin" on both servers.

Regards
Nishakar
Avatar of Hanno P.S.
Hanno P.S.
Flag of Germany image

could you verify the the rsh (or rshell) service is actually active on that server?
Avatar of STNoida
STNoida

ASKER

Yes, I restarted the rshell service on windows server.Now we are getting different error:

tox009:edamgr:/home/edamgr >remsh serv1 -l rshadmin \\netapp02.\XXX.bat)
Logon failure: unknown user name or bad password.

Regards
Nishakar
ASKER CERTIFIED SOLUTION
Avatar of Hanno P.S.
Hanno P.S.
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial