Page 1 of 1
Sftp ssh key Windows 8
Posted: Wed Apr 15, 2015 8:50 pm
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.
Re: Sftp ssh key Windows 8
Posted: Wed Apr 15, 2015 9:00 pm
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
Re: Sftp ssh key Windows 8
Posted: Wed Apr 15, 2015 10:01 pm
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.
Re: Sftp ssh key Windows 8
Posted: Mon Apr 20, 2015 8:45 pm
by jbatson
Anyone have any ideas on how to resolve this issue?
Re: Sftp ssh key Windows 8
Posted: Mon Apr 20, 2015 9:09 pm
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