Using ssh tunnel with public and private keys (wodSSHTunnel)
Hi, I forgot to ask, when I generate the key I saved the output of
string privatekey = key.ToXmlString(WODSSHKeyLib.SSHKeyTypes.RSAkey,true));
can I use this value in my other project like this:
WODSSHKeyLib.Keys key = new WODSSHKeyLib.Keys();
key.FromXmlString(@"the string from privatekey ");
wodSSHTunnel1.PrivateKey = key;
because I don't want to keep the private key file in the same folder, on my HDD.
Thanks
Complete thread:
- Using ssh tunnel with public and private keys - Alice Feema, 2014-04-06, 13:54
- Using ssh tunnel with public and private keys - wodSupport, 2014-04-06, 13:59
- Using ssh tunnel with public and private keys - Alice Feema, 2014-04-06, 14:27
- Using ssh tunnel with public and private keys - Alice Feema, 2014-04-06, 14:56
- Using ssh tunnel with public and private keys - wodSupport, 2014-04-06, 16:11
- Using ssh tunnel with public and private keys - wodSupport, 2014-04-06, 16:10
- Using ssh tunnel with public and private keys - Alice Feema, 2014-04-06, 14:56
- Using ssh tunnel with public and private keys - Alice Feema, 2014-04-06, 14:27
- Using ssh tunnel with public and private keys - Alice Feema, 2014-04-06, 14:06
- Using ssh tunnel with public and private keys - wodSupport, 2014-04-06, 14:14
- Using ssh tunnel with public and private keys - wodSupport, 2014-04-06, 13:59