Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Execute program on other server.

Status
Not open for further replies.

NitzGuy

Programmer
Jun 9, 2003
28
CA
Hi,
I have a unix server, but there is a program that I would like to execute that is located on another server. Is this possible?

Thanks
Jason
 
Of course.
Try to be more specific.

You would like to use an application located on another
server via X? It's simple to do.
SSH has some neat features for this and a trivial
shell and/or expect script can make the whole thing
transparent.
 
simple example:
hostA - local server
hostB - remote server

In hostB, edit a '.rhosts' in HOME directory and the content is like this:
123.123.123.123 #IP of hostA
or
hostA #if IP exists in /etc/hosts

In hostA, try
#rsh hostB hostname #rsh [TARGET] [COMMAND]
#hostB

Then you get it!
man rsh to learn more!
 
The r services are incredibly insecure and any clueful
admin has disabled them.
Bzzzzz...try again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top