Using SSH private key with SFTP plugin

General questions regarding the usage of CodeLite
oscarvady
CodeLite Curious
Posts: 2
Joined: Tue May 17, 2016 7:52 pm
Genuine User: Yes
IDE Question: PHP
Contact:

Using SSH private key with SFTP plugin

Post by oscarvady »

Hello everybody,

I am trying to use SFTP plugin to manage my remote machine. For that I want to use ssh keys.

In the documentation http://codelite.org/LiteEditor/SFTP appears:
" Note that the Password field is optional. If not provided, the SFTP plugin will try to connect either using SSH keys (the one that is stored under ~/.ssh folder) or
via anonymous login."

I put the .ppk in my user/.ssh folder, but when I make test connection... "Interactive Keyboard is not enabled for this server"

Thanks in advanced

Note: I am using Windows 8.

Best regards
Oscar
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Using SSH private key with SFTP plugin

Post by eranif »

You should have a file named:
~/.ssh/id_rsa.pub or ~/.ssh/id_dsa.pub (these are the default searched by libssh)

The ppk file is putty generated file, which is not supported by this plugin.


Eran
Make sure you have read the HOW TO POST thread
oscarvady
CodeLite Curious
Posts: 2
Joined: Tue May 17, 2016 7:52 pm
Genuine User: Yes
IDE Question: PHP
Contact:

Re: Using SSH private key with SFTP plugin

Post by oscarvady »

Yes, I used the .pub key renamed to id_rsa.pub into the folder ~/.ssh/ and it works!

Thanks
Post Reply