#!/bin/true Below is the original info how to feed ssh with password with a script. Last line shows how to run the command executed by hudson to run a windows slave. Note the setsid.pl that is not required when running from hudson and user terminal for running the application server has been closed. If you don't use it, then you'll have to type in the password manually (impossible for hudson). http://marc2.theaimsgroup.com/?l=secure-shell&m=113872346215286&w=2 -------------------- Hi Here is something that seems to work You need 2 scripts. a .sh and a .pl (perl and shell) $ cat echo_pass #!/bin/sh echo p4ssword $ chmod a+rx echo_pass $ cat setsid.pl #!/usr/bin/perl use POSIX(setsid); if(fork()) { wait; } else { setsid; exec {$ARGV[0]} @ARGV; } $ chmod a+rx setsid.pl $ DISPLAY=y SSH_ASKPASS=./echo_pass ./setsid.pl ssh user@host --------------------- DISPLAY=y SSH_ASKPASS=./echo_pass.sh ./setsid.pl ssh -o PreferredAuthentications=password "$HOST" cmd.exe /c startSlave.bat call launchWinSlave\\\\launchWinSlave.bat