Loading a password protected private key (wodSSH / wodSSH.NET)
Hi,
I have developed a simple VBS Script Component (WSC file) that connects to Unix hosts through SSH2 using key authentication to executes certain commands. It runs as a COM object in one server that can be accessed remotely by Windows clients.
Everything works fine although there's something I'm curious about. My private key is password protected, so I load the key as
.load path to file , password
I have not found a way to encrypt my WSC file so anyone with access to the file system can see the password in clear text. I wonder if you can provide a workaround to avoid expossing this password in the code.
Any help will be appreciated.
Complete thread:
- Loading a password protected private key - javier matamoros, 2008-05-07, 14:40
- Re: Loading a password protected private key - wodDamir, 2008-05-07, 15:04