Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Use RSA with Eclipse Remote Systems Explorer?

I'm using the Remote Systems Explorer (RSE) plugin in Eclipse on my Windows 7 machine to edit files through SFTP on a remote Linux server. I have an RSA key pair setup between my machine and the Linux server, and I can SSH using my keys no problem when I'm at a Cygwin command prompt. I'm not able to get the keys working in Eclipse, though.

I added my RSA private key to Eclipse through Preferences -> General -> Network Connections -> SSH2. I also have my public key on the remote Linux server under ~/.ssh/authorized_keys, but I still get a login prompt when I connect to the remote Linux server. How can I setup the RSE plugin so it uses my RSA key to connect?

like image 859
stomcavage Avatar asked Jun 24 '11 17:06

stomcavage


1 Answers

I had exactly the same issue and I solved it simply upgrading to RSE 3.2.2. The login prompt will appear again. Type the right user id but a dummy password (not the unix user one). It will connect anyway (using the generated keys).

like image 191
user749760 Avatar answered Nov 11 '22 04:11

user749760