ScriptVoodoo.org
Home News Projects Resources About Me



   bepkg
   dlist
   fuseblockfs
   objectsh
   pagegen
   shfnlib
   shutils
    sshpass


w3c
ssh Password config option

Description
This is a patch against openssh-5.1p1 that will add a Password option into the ssh config parser. Useful when keys are not allowed on the remote machine. The only other (messy) way to automate ssh in a script is to use expect.

It can be used in the ssh_config file or .ssh/config i.e.

Host thathost
  User remoteuser
  Password thispassword

Or it can be used directly from the command-line i.e.

ssh -obatchmode=yes -opassword=thispassword thathost
scp -B -opassword=thispassword a thathost:/tmp/a


Download
     openssh-5.1p1.tar.gz
     openssh-5.1p1-password.diff


Home News Projects Resources About Me
©2023 Trent Spoolstra