问题
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:
It complains:
Any idea?
回答1:
You need to add your private key in the following configuration window:
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:
来源:https://stackoverflow.com/questions/23304153/how-can-i-connect-to-a-sftp-server-using-the-remote-system-explorer-end-user-ru