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 Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

remote command in shell script

Status
Not open for further replies.

sunburn

Technical User
Joined
Jun 20, 2003
Messages
2
Location
US
I have to run the same basic script on 3 different servers, very basic, all using sh. but I only want to run the script on one box. I've seen a remote command used before in a shell but can't remember what and how it was used.

rsh???? Can anyone direct me to this command, so I can man it and use it for my needs. Any help would be greatly appreciated.
 
You are looking for rsh. You can man or google it. I would suggest, that if you need to set it up, instead setup ssh. ssh is secure and you can eliminate the need for passwords, while still being secure.

for wed june 18, 2003 tells how to set up ssh in a flash.

 
Ok, I found the man rsh and attempted to set that up, having some issues with that, kind of a pain having to setup the user side in all the etc files, but I will also investigate the secure shell, I appreciate the links.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top