• Sun. Nov 28th, 2021

Eclipse Work With Remote Workspace – CK.D.Lee

lanwo ayotunde


Jan 29, 2020

The Remote System Explorer (RSE). It’s a set of plug-ins to do exactly what you want.

RSE may already be included in your current Eclipse installation. To check in Eclipse Indigo go to Window > Open Perspective > Other… and choose Remote System Explorer from the Open Perspective dialog to open the RSE perspective.

To create an SSH remote project from the RSE perspective in Eclipse:

  1. Define a new connection and choose SSH Only from the Select Remote System Type screen in the New Connection dialog.
  2. Enter the connection information then choose Finish.
  3. Connect to the new host. (Assumes SSH keys are already setup.)
  4. Once connected, drill down into the host’s Sftp Files, choose a folder and select Create Remote Project from the item’s context menu. (Wait as the remote project is created.)

If done correctly, there should now be a new remote project accessible from the Project Explorer and other perspectives within eclipse. With the SSH connection set-up correctly passwords can be made an optional part of the normal SSH authentication process. A remote project with Eclipse via SSH is now created.

Original Link: http://stackoverflow.com/questions/4216822/work-on-a-remote-project-with-eclipse-via-ssh

Tips to Access FTP/SSH on Different Ports using Eclipse RSE

FTP and SSH servers can use different port other than the default and most of these servers are configured using default ports, but often times FTP/SSH servers may be on different port, so how do you configure Eclipse RSE to access these servers? That’s what this little article is about.

  1. Make sure you know the FTP/Port port first, create an account on the server
  2. Start up Eclipse with RSE
  3. Go to Window -> Open Perspective -> Remote System Explorer to bring up Remote Systems Panel
  4. Expand SSH/FTP node(s) if you created them already, otherwise, please refer to XXXXXX to create an FTP or SSH connection, your Remote Systems panel will look like this:
  5. For FTP right click Files node under your FTP root node and choose properties from context menu, for SSH you can click on Sftp Files, Ssh Shells or Ssh Terminals node. You will now be presented the following dialog:
  6. Select Subsystem node on the left panel of the properties dialog, note the port field on the right side of the dialog, change the value to whatever port you have in hand (see above image for details)
  7. Click OK to accept the changes you just made, and right click FTP/SSH node and choose connect, now you should be able to connect to your FTP/SSH server

Original Link: http://ikool.wordpress.com/2008/07/25/tips-to-access-ftpssh-on-different-ports-using-eclipse-rse/


Creating a Remote C/C++ Project

Before creating a Remote C/C++ Project it is recommended that you have already established a connection to a remote RDT server.

Remote C/C++ Project Wizard

Disclaimer: The Remote C/C++ Project Wizard is based on the CDT new project wizard which was originally designed to create local projects. Therefore some aspects of the wizard interface are not ideal for the scenario of creating a remote project. The remote project must be set up correctly or it will not work properly. The following steps describe in detail what must be done to correctly set up a remote project.

  1. To create a new Remote C/C++ Project begin by opening the New Remote C/C++ Project Wizard by going to File > New > Remote C/C++ Project.
    New > Remote C/C++ Project” src=”https://i2.wp.com/help.eclipse.org/indigo/topic/org.eclipse.ptp.rdt.doc.user/images/new_project_wizard/menu_create_project.png”>
  2. Enter the project name.
    Enter Project Name
  3. Choose a remote provider for hosting the remote project. RDT currently ships with the RSE file system, so it is recommended that you choose that.
    Choose Remote Provider
  4. Select a remote connection associated with the remote provider. Create one if one did not already exist by clicking New.
    Choose Remote Provider
  5. Now the location of the project root folder must be entered into the Location field. If you do not know the URI of the project folder then it is recommended that you use the Browse… button.
    Browse File System
  6. If you have chosen RSE as the file system then the RSE Browse for Folder dialog will appear. In this dialog first choose a connection to a running RDT server.
    Choose a Connection
  7. Choose a folder and click OK.
    Choose a Folder
  8. The URI of the chosen folder will appear in the Location field. You may create a sub-folder by editing the URI and adding the name of the sub-folder at the end.
    Enter URI
  9. Under the Project type field, select a project type. For the purpose of this tutorial, expand Remote Makefile Project and select Empty Project.
    Select Makefile Project
  10. At the bottom of the wizard uncheck the checkbox that says Show project types and toolchains only if they are supported on the platform. If this checkbox is checked then the wizard will filter out what it thinks are unsupported toolchains. Unfortunately the wizard only examines the local machine for supported toolchains and does not examine the remote machine where the project will be located.
    Uncheck Toolchains
  11. Select a toolchain. A toolchain is a set of tools (such as a compiler, linker, and assembler) intended to build your project.
    Select a Toolchain
  12. Click Next.
  13. The next page of the wizard allows you to select available build configurations. It is not necessary to make any changes on this page because additional build configurations can be created after the project has been created.
  14. Click Finish. Creating the project may take a few minutes. Once the project has been created it will appear in the Project Explorer view.

Original Link: http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.ptp.doc.user%2Fhtml%2FlocalVsRemote.html


12 thoughts on “Eclipse Work With Remote Workspace – CK.D.Lee”

Leave a Reply

Your email address will not be published. Required fields are marked *