How do I add the passphrase for my private key into a script

Advertisement

omowale
Joined:
Posts:
1

How do I add the passphrase for my private key into a script

Hi,

I have key pair authentication and I have scripted the file transfer process. But during the authentication process WinSCP is going to ask me for the passphrase for my private key.

Is there any way of scripting this so that I dont have to keep entering the passphrase since the transfer happens in the early morning. How can I do this so that it can be secure?

Thanks

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
28,802
Location:
Prague, Czechia

Re: How do I add the passphrase for my private key into a script

Please read FAQ. If that does not help, come back.
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum