> Is there a way in which I can write the batch file in Ruby > and hide or somehow encrypt the password, so even if someone > edits the file the password can't be understood? Use pageant and an ssh key. Secure and doesn't require the password in the command line. -Doug