Re: Private Key with Passphrase (General questions)
Hi
I did all you said. Thanks for that. It is working but I am not able to putFile on the server. Whereas I am able to getFile from server also I am able to make directories on server. SFTP does not throw any error when I execute putFile but the file does not reach the server
-Swanand
Swanand,
did you manage to connect to the server with any other client, such as SSH package you used to generate the key? Did you paste public key on the server in authorized_keys file?
This always depends on the server on how to do it. If server is OpenSSH, then load the key with wodKeys (using Load method), use PublicKeyOpenSSH property to retrieve public key, and then paste that public key (it will look like ssh-rsa AAA.... ) to your home directory in subfolder ./ssh/authorized_keys2. That should work.
Complete thread:
- Private Key with Passphrase - Swanand, 2005-04-14, 12:40
- Re: Private Key with Passphrase - wodSupport, 2005-04-14, 14:56
- Re: Private Key with Passphrase - Swanand, 2005-04-19, 05:53
- Re: Private Key with Passphrase - Swanand, 2005-04-20, 05:53
- Re: Private Key with Passphrase - wodSupport, 2005-04-20, 08:10
- Re: Private Key with Passphrase - Swanand, 2005-04-20, 08:49
- Re: Private Key with Passphrase - wodSupport, 2005-04-20, 12:07
- Re: Private Key with Passphrase - wodSupport, 2005-04-20, 12:08
- Re: Private Key with Passphrase - Swanand, 2005-04-21, 05:29
- Re: Private Key with Passphrase - wodSupport, 2005-04-21, 07:56
- Re: Private Key with Passphrase - Swanand, 2005-04-21, 05:29
- Re: Private Key with Passphrase - wodSupport, 2005-04-20, 12:08
- Re: Private Key with Passphrase - wodSupport, 2005-04-20, 12:07
- Re: Private Key with Passphrase - Swanand, 2005-04-20, 08:49
- Re: Private Key with Passphrase - wodSupport, 2005-04-20, 08:10
- Re: Private Key with Passphrase - Swanand, 2005-04-20, 05:53
- Re: Private Key with Passphrase - Swanand, 2005-04-19, 05:53
- Re: Private Key with Passphrase - wodSupport, 2005-04-14, 14:56