scripted Private key without blank password
Hi,
I am trying to automate an ftp transfer and I can't find a way to pass the private key password into the command line. I've check the site and FAQ and all I can find is use a blank passphrase or use an authentication program.
The problem with an authentication program is that if the power goes out and the computer reboots some one would have to go out there and re-type in the passphrase locally.
The problem with a blank passphrase is that my sFTP server doesn't accept a blank passphrase and, according to puttygen, there is no encryption on the private key if there is no password so it is sent in the clear.
I trust the physical security of the machine but I don't trust the internet to send a clear-text private key. Is there any way to pass through the private key passphrase automatically?
I am trying to automate an ftp transfer and I can't find a way to pass the private key password into the command line. I've check the site and FAQ and all I can find is use a blank passphrase or use an authentication program.
The problem with an authentication program is that if the power goes out and the computer reboots some one would have to go out there and re-type in the passphrase locally.
The problem with a blank passphrase is that my sFTP server doesn't accept a blank passphrase and, according to puttygen, there is no encryption on the private key if there is no password so it is sent in the clear.
I trust the physical security of the machine but I don't trust the internet to send a clear-text private key. Is there any way to pass through the private key passphrase automatically?