Page 1 of 1

SFTP on Windows in CodeLite with SSH keys

Posted: Wed Jan 10, 2018 6:43 pm
by Nimja
I'm trying to set up CodeLite with SSH keys on Windows 10.

Private keyfile:

Code: Select all

c:\Users\(name)\.ssh\id_rsa.ppk
Tested via putty (using keyfile): Works.

Tested WITH password via CodeLite: Works

Tested WITHOUT password, via CodeLite (should use SSH private key file): DOES NOT WORK

You also get the (misleading error): "Interactrive Keyboard is not enabled for this server" - Which is automatically tried after.

I cannot find where I can point CodeLite to my private key file and the wiki page: http://codelite.org/LiteEditor/SFTP - Gives no further info specific to Windows.

Please help.

Re: SFTP on Windows in CodeLite with SSH keys

Posted: Wed Jan 10, 2018 8:20 pm
by eranif
CodeLite does not use PuTTY keys, it uses
You need to create them using ssh-keygen.exe (available in every git / mingw terminal)
Than place it under %HOMEPATH%\.ssh

Re: SFTP on Windows in CodeLite with SSH keys

Posted: Tue Feb 13, 2018 1:55 am
by Nimja
It would be nice to mention this in the wiki and to improve the error message. To say like: "No key file found in (path), no password given, interactive not enabled"