Post a reply

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

martin

Re: Load SshPrivateKey from memory

No it's not possible.
panikt

Load SshPrivateKey from memory

Hi,
Our new application needs SshPrivateKey to do an SFTP with a 3rd party server. However, due to our company policy, we can't store private keys in file system ( Our system will pass the key across as a buffer and we are not allow to write it to the disk).

Is there a way to use WinSCP lib to load SSh Private Key from memory instead of the file? Pageant doesn't work either since it ultimately requires the ssh key file to exist on the system.

Thank you very much in advanced.