Simply google sshpass and you will find several alternatives Tony Heal
> -----Original Message----- > From: arulkumarr [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 19, 2007 7:16 AM > To: debian-user@lists.debian.org > Subject: Re: SSH > > > Hi, I am new to SSH. Can you tell me how can I automate connecting to remote > unix boxes using SSH through a shell script and the SSH connections should > take the password at runtime possibly using a config file something like > > cat server_repo.txt: > abc_server abc/def > > where abc_server - unix box > abc - username > def - password > > Note - I dont want to use "Passwordless Connectivity" . The idea is we > should be able to port this "Shell script" and config file to any unix box > and should not require any ssh key generation as such. > > > Thanks, > Arul. > > > > Josh Battles wrote: > > > > Sean Whitton said: > >> Hi Debian Community, > >> > >> A total newbie question, but... > >> > >> Is there any need to enable SSH, or will it just work out-of-the-box? > >> > >> Thanks! > > > > You'll need to install the OpenSSH package first. If you just install the > > package it will work but it won't be as secure against intrusion (if > > you're > > going to expose your box to the world) as it could be. > > > > Here's the article I read when I setup SSH on my server, I found it to be > > very helpful. > > http://www.debian-administration.org/articles/152 > > > > -- > > - Josh > > www.omg-stfu.com > > > > > > -- > > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > > with a subject of "unsubscribe". Trouble? Contact > > [EMAIL PROTECTED] > > > > > > > > -- > View this message in context: > http://www.nabble.com/SSH-tf335293.html#a11686596 > Sent from the Debian User mailing list archive at Nabble.com. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]