Re: wodsshTunnel with out wodkey object (General questions)

by Jasmine, (6963 days ago) @ kkeyan

wodSSHTunnel will accept key data as in Load method, but you can pass it directly (UNENCRYPTED KEY!!) to PrivateKey property, like this for example:[code]tunnel1.HostName = ....
tunnel1.Authentication = authPubkey
tunnel1.Login = ....
tunnel1.PrivateKey = -----BEGIN RSA PRIVATE KEY----- & vbLf & MIICXQIBAAK... MORE DATA HERE ...F4Y32Zs & vbLf & -----END RSA PRIVATE KEY-----
tunnel1.Connect[/code]

Can you try that?

Kreso

locked

Complete thread: