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

michel_kprt

Re: SSH Keys retention period validity

martin wrote:

No, WinSCP does not remove any keys anytime. It must be some external process that does that. Or are sure that the INI file changes? Isn't it rather that the SSH server changes the key?

Note that it's not recommended to rely on configuration in scripting anyway:
https://winscp.net/eng/docs/scripting#configuration


Hi Martin,

Thank you for reply.
Sure, I will check what external process could cause winscp.ini modification in SSH keys part.
martin

Re: SSH Keys retention period validity

No, WinSCP does not remove any keys anytime. It must be some external process that does that. Or are sure that the INI file changes? Isn't it rather that the SSH server changes the key?

Note that it's not recommended to rely on configuration in scripting anyway:
https://winscp.net/eng/docs/scripting#configuration
michel_kprt

SSH Keys retention period validity

Hi Team,

It was noted one issue with WinSCP (using portable app):

After approximately nine months the keys were removed automatically from .ini file.
Is there any retention period defined for WinSCP portable app (or installer) to retain SSH keys from known hosts?

WinSCP portable app is used inside Power Shell script,
and once SSH key is lost - the script cannot login to the remote server.

Thank you,
Michel