Topic "Encrypt password in script file."

Author Message
mart

Guest


Hello,

I will like make automation with winscp scripting but i'dont like show password in the script.

What is the best way to encrypt password directly in the scrypt...?

open scp://mart:PASSWORD ENCRYPTED@server -hostkey="ssh-rsa 2048 ..."

Regard,

mart
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Teh best way is to encrypt the script using Windows file-level encryption.
_________________
Martin Prikryl
dbkcis

Guest


Is it possible to hide the script within, and access it directly from, an SSIS package?

Thanks,
David
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
You can specify the commands directly on command-line using /command parameter instead of using separate script file.
http://winscp.net/eng/docs/commandline#scripting
_________________
Martin Prikryl
dbkcis

Guest


That was just what I was looking for. Thanks Martin!
scrablevision2

Guest


Does your software have encryption included?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
scrablevision2 wrote:
Does your software have encryption included?

Can you explain us, what you mean specifically?
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