Re: wodsshTunnel with out wodkey object - WeOnlyDo Discussion board

Re: wodsshTunnel with out wodkey object (General questions)

by wodSupport, Monday, April 10, 2006, 22:57 (6801 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


Complete thread: