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 »

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: 6375
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 »

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 »

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