Frequently Asked Questions

How to generate and save private and public key in wodSSH with wodKeys component?

Here is example how to generate and save PrivateKey and PublicKey using wodKeys component:
Dim key As Keys
Set key = New Keys

key.Generate RSAkey ' you can generate with wodKeys RSAkey or DSAkey
key.Save RSAkey, "c:\RSAprivate.txt", "weonlydo" ' weonlydo is password
key.PublicKeySave RSAkey, "c:\RSApublic.txt"
Debug.Print key.PublicKeyOpenSSH(RSAkey)

wodKeys component is part of wodSSH ActiveX component.
PublicKey is part of PrivateKey. If you wish to connect to server with your PrivateKey, server need to have your PublicKey.


 Last updated Thu, Nov 7 2013 11:00pm

Please Wait!

Please wait... it will take a second!