1819796 Members
3136 Online
109607 Solutions
New Discussion юеВ

Remote shell

 
SOLVED
Go to solution
Tim O'Connell
Regular Advisor

Remote shell

Hi,

I have just moved from 2 unixware servers to 2 HPUX servers. There was a command in unixware to run a remote shell on the second server. The format was:

rsh server2 ksh /scriptname

Is there an equivalent command on HP. rsh seems to be restricted shell

Thanks,

Tim
7 REPLIES 7
Victor BERRIDGE
Honored Contributor
Solution

Re: Remote shell

Hi
remsh (man remsh...)
all the best
Victor
Pete Randall
Outstanding Contributor

Re: Remote shell

Tim,

remsh is the command you seek. Try a man on "remsh".



Pete

Pete
Michael Schulte zur Sur
Honored Contributor

Re: Remote shell

Hi,

rsh is remote shell.
use rsh server2 "ksh /scriptname"
if you have #/bin/ksh as first script then you need only:
rsh server2 "/scriptname"

Michael


Fabio Ettore
Honored Contributor

Re: Remote shell

Hi,

try remsh (man remsh).

An example:

# remsh ll

Of course this system must be in .rhosts list of .

Best regards,
Ettore
WISH? IMPROVEMENT!
Paddy_1
Valued Contributor

Re: Remote shell

Already the solution is give but on a tangent I Just want to add either you can download expect(Tcl) scripts that provide the same functionality with ssh enabled or you could use certain perl scripts from www.cpan.org

The sufficiency of my merit is to know that my merit is NOT sufficient
Michael Schulte zur Sur
Honored Contributor

Re: Remote shell

Oops,

so much for compatibility. :-(
Tru Unix makes it Rsh and rsh.

of course it is remsh. ehem..

Michael
Tim O'Connell
Regular Advisor

Re: Remote shell

Many Thanks for the help. remsh did the biz.
Points awarded.

Rgds,

Tim