using private key command in script?

Advertisement

mr4100
Guest

using private key command in script?

can you use the private key command in the script file?

I can't find anything in the documentation or faqs.

I'm trying to automate this with ssis 2005 using the execute process task but i have to use a key instead of password.

thanks,

Reply with quote

Advertisement

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

Re: using private key command in script?

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

Reply with quote

Guest

Re: using private key command in script?

martin wrote:

Please read documentation. If that does not help, come back.

well in my original post I did say that I had already read the documentation and faqs however I did figure it out. Here is what I came up with.

"WinSCP\WinSCP.com" user@mysite.com /privatekey="Keys\mykey.ppk" /script="C:\Test\sftpscript.txt"

thanks,

Reply with quote

Advertisement

You can post new topics in this forum