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 11-15-2005
esham's Avatar
esham esham is offline
Registered User
 

Join Date: Nov 2004
Location: INDIA
Posts: 97
use of ssh in scripts

Hi all..

My problem is i have some commands, some run in my linux machine, and the rest in another linux machine.
I have to ssh to that machine..

how can i ssh with username and password in shell scripts..
can i use commands like

Quote:
ssh -l root 192.168.2.3 -p password
thanks in advance
Reply With Quote
Forum Sponsor