Topic "using private key command in script?"

Author Message
mr4100

Guest


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,
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
Please read documentation. If that does not help, come back.
_________________
Martin Prikryl
Guest




prikryl 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,
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License