How can I connect to a SFTP server using the “Remote System Explorer End-User Runtime” Eclipse plugin and a .pem private key?

放肆的年华 提交于 2021-02-19 02:17:57

问题


I am trying to use Eclipse as a remote editor. The files I want to edit are on an SFTP server, which I usually connect to using a private .pem key (it's an OpenStack node). Can I've read that Eclipse natively supports FTP and SSH through the Remote System Explorer End-User Runtime Eclipse plugin. How shall I configure it to connect to an SFTP using a private .pem key?

I don't have any password since I prove my identity using the private .pem key, so when I try to SSH into the server without entering any password:

enter image description here

It complains:

enter image description here

Any idea?


回答1:


You need to add your private key in the following configuration window:

enter image description here

You'll then be able to connect to the SFTP server (when ask leave the password blank or put any random password as the private key will be used to connect anyway) and remote edit in Eclipse:

enter image description here



来源:https://stackoverflow.com/questions/23304153/how-can-i-connect-to-a-sftp-server-using-the-remote-system-explorer-end-user-ru

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!