Hi guys,
I need to automate scp downloads from a server to which I do not have the ability to upload my public key for automatic logins.
I know there is something called expect, but I wasn't sure if that was the best way to go. Basically I am executing a scp download command and I need the script to watch for the password prompt and enter it for me. A level up would be reading the password from at least somehow encrypted form (either within the script itself or a local file)
any tips & tricks appreciated