SFTP on Windows in CodeLite with SSH keys

CodeLite installation/troubleshooting forum
Nimja
CodeLite Curious
Posts: 2
Joined: Wed Jan 10, 2018 6:39 pm
Genuine User: Yes
IDE Question: C++
Contact:

SFTP on Windows in CodeLite with SSH keys

Post by Nimja » Wed Jan 10, 2018 6:43 pm

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.

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

Re: SFTP on Windows in CodeLite with SSH keys

Post by eranif » Wed Jan 10, 2018 8:20 pm

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

Nimja
CodeLite Curious
Posts: 2
Joined: Wed Jan 10, 2018 6:39 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: SFTP on Windows in CodeLite with SSH keys

Post by Nimja » Tue Feb 13, 2018 1:55 am

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"

Post Reply