Sftp ssh key Windows 8

CodeLite installation/troubleshooting forum
jbatson
CodeLite Curious
Posts: 3
Joined: Wed Apr 15, 2015 8:25 pm
Genuine User: Yes
IDE Question: Whe
Contact:

Sftp ssh key Windows 8

Post by jbatson »

Trying to set up sftp to connect to amazon server. I have dumped into C:\Users\username\.ssh the .ppk, .pem keys that I use for putty. When I create the connection and test I get error message about interactive keyboard disabled.

Are the keys in the correct location? I have searched the issue and have not found any reference to the issue.
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Sftp ssh key Windows 8

Post by eranif »

You need to use standard key files (they are usually generated by the ssh-keygen and by default named id_rsa.pub and id_rsa)

If you don't have a MinGW shell, you can install MSYSGit, open the MinGW termninal and type: ssh-keygen and follow the steps.
These will create 2 files for you, append the content of the '.pub' file into the authorized_keys on the remote server (usually located under: ~/.ssh/authorized_keys)
and you should be able to connect

Check this post on stackoverflow (CodeLite is using libssh for its SFTP/SSH management):
http://stackoverflow.com/questions/2690 ... ivate-keys

Eran
Make sure you have read the HOW TO POST thread
jbatson
CodeLite Curious
Posts: 3
Joined: Wed Apr 15, 2015 8:25 pm
Genuine User: Yes
IDE Question: Whe
Contact:

Re: Sftp ssh key Windows 8

Post by jbatson »

I used puttygen to convert the ppk file named file_rsa and put it in the .ssh folder. I added connection, it asked if I trusted the connection clicked yes and then a popup about the "interactive keyboard is not enabled on this server".

I saved the connection, went to the sftp tab clicked connect, get the popup "interactive keyboard is not enabled on this server" click ok. When I mouse over the connect/disconnect icon it shows connected but does not list any files.
jbatson
CodeLite Curious
Posts: 3
Joined: Wed Apr 15, 2015 8:25 pm
Genuine User: Yes
IDE Question: Whe
Contact:

Re: Sftp ssh key Windows 8

Post by jbatson »

Anyone have any ideas on how to resolve this issue?
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Sftp ssh key Windows 8

Post by eranif »

Did you try to use OpenSSH file format (generated with ssh-keygen not via putty)?
Did you try to connect from a command line using the 'ssh' command line tool that comes with MSYSGit?

Eran
Make sure you have read the HOW TO POST thread
Post Reply