The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 06-30-2004
LordJezo LordJezo is offline
Registered User
 

Join Date: May 2004
Posts: 45
How do I get ssh to run a command in one line?

How would I combine something like:


localserver# ssh remoteserver

remoteserver# find blah blah blah


into a one liner that would ssh to the remote server and run the find command, so I could put it in a script to automatically go out and run things on remote servers with out needed user input?
Reply With Quote
Forum Sponsor