Frequently Asked Questions

How to connect to server with private key in wodSSH?

Here is example how to connect to server with PrivateKey:
Set ssh1 = New wodSSHCom
Set key = New Keys

key.Load "c:\RSAprivate.txt"

ssh1.Protocol = SSHAuto
ssh1.HostName = "your_hostname"
ssh1.Authentication = authPubkey
ssh1.Login = "your_login"
ssh1.PrivateKey = key
ssh1.Blocking = True
ssh1.Connect

PublicKey is part of PrivateKey. If you wish to connect to server with PrivateKey, server need to have your PublicKey.
You can generate and save PrivateKey and PublicKey with wodKeys component.
WodKeys component is part of wodSSH ActiveX component.


 Last updated Thu, Nov 7 2013 11:00pm

Please Wait!

Please wait... it will take a second!