WeOnlyDo Support

Frequently Asked Question

How to connect to server with private key in wodSFTP?
Last Updated 12 years ago

Here is example how to connect to server with PrivateKey:
Set sftp1 = New wodSFTPCom
Set key = New Keys

key.Load "c:\RSAprivate.txt", "weonlydo"

sftp1.HostName = "your_hostname"
sftp1.Authentication = authPubkey
sftp1.Login = "your_login"
sftp1.PrivateKey = key
sftp1.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 wodSFTP ActiveX component.

Please Wait!

Please wait... it will take a second!