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 the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #6 (permalink)  
Old 10-24-2008
gfca gfca is offline
Registered User
  
 

Join Date: Jun 2008
Posts: 31
Hi,

you can run "ssh primUser@135.254.242.2 "su - user -c command_to_run"

hope this will help