Master Password command line switch

Advertisement

Advertisement

Charles Sorgie
Joined:
Posts:
12

Re: Master Password command line switch

martin wrote:

In general, we discourage using stored site settings in scripting.
https://winscp.net/eng/docs/scripting#configuration
This would go clearly against that recommendation.

If the master password cannot be supplied on the command line, and a master password has to be supplied to secure the GUI configuration, then don't you end up having to supply the passwords on the open in the script anyway? Either way you can use the technique I described here [https://winscp.net/forum/viewtopic.php?t=24266] it is just whether or not you have to supply it once as the master password or for every site in the URL.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

Re: Master Password command line switch

If the master password cannot be supplied on the command line, and a master password has to be supplied to secure the GUI configuration, then don't you end up having to supply the passwords on the open in the script anyway?
Yes. But what's an advantage of encrypting a password with a master password, that you would have to openly supply in the script anyway?

I will consider the DAPI solution.

Reply with quote

Advertisement

You can post new topics in this forum