Re: Private Key with Passphrase - WeOnlyDo Discussion board

Re: Private Key with Passphrase (General questions)

by Swanand, Tuesday, April 19, 2005, 05:53 (7157 days ago) @ wodSupport

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: