Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

Bastou

OK. Thank you.
martin

Bastou wrote:

You suggest to use WinSCP in command-line mode. Yes, but what is the command to store sessions ? I can't find it.

It looks like you've completely missed the point :-)
I've suggested you to create the sessions with your script as you've originally intended to do. Just make it to store the passwords unencrypted (using 'PasswordPlain'). Then run WinSCP once (anyhow) to make it encrypt the password. Only 3.8 can do that. But you can use it just for the encryption and keep the stable version for actual work.
Bastou

3.8 is a beta release. I can't use it because I must use a stable release.

You suggest to use WinSCP in command-line mode. Yes, but what is the command to store sessions ? I can't find it.

Bastou
martin

Re: How can I encrypt passwords for Windows registry ?

Why you cannot use it? For security reasons? You can store it in plain text and then run WinSCP once to make it encrypt the passwords. If you want to do that automatically, just run WinSCP with some function-less script. Like "winscp3.exe /console /command exit".
Bastou

How can I encrypt passwords for Windows registry ?

Hi,

I am using WinSCP 3.7.6 and I want to create a script to create Stored Sessions in Windows registry (~100).
My problem is for the password.
How can I encrypt it ? I saw that release 3.8 supports plain text but I can't use it.
Thank you for your answers.

Bastou