Ikool’s Blogbed

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

Hope you enjoy it

July 25, 2008 Posted by | How Tos, IDE Tools, Technology | , , , , | 5 Comments

SSH Access through Eclipse RSE

I wrote an article on how to install Eclipse RSE (Remote System Explorer), and how to access Eclipse DStore agent using Eclipse RSE. Since then I also explored how to access SSH servers as most of our environments are only SSH enabled. It would be convenient if I can access the remote system using SSH within Eclipse while I am working on projects. I shall be able to run any commands that are supported by my system through Eclipse RSE, and I should also be able to execute programs that I am working on from within Eclipse through Eclipse RSE. According to what I tried so for, that’s what Eclipse RSE is going to do for you. With these features (such as browsing files, shell and terminal, and even FTP) you don’t have to open any extra windows/terminals on your desktop. One concern of Eclipse is memory usage which may be very big, so for I haven’t yet. Ok, let’s start the session.

  1. First make sure you install Eclipse Ganymede for J2EE. Follow this link to install Eclipse RSE
  2. Make sure you have an SSH account. If you don’t have it, you need to consult your system administrator. Or you can install a local SSH server, you can get a copy of SSH server from SSH for Win32. Use Putty to confirm that you can access your SSH server if you haven’t done so.
  3. Start Eclipse
  4. Let’s first bring up the RSE Explorer, go to Eclipse Window -> Open Perspective -> Remote System Explorer, if you don’t see it, then do Eclipse Window -> Open Perspective -> Other. From Open Perspective dialog select Remote System Explorer and click OK
  5. Now you should see a default “Local” Connector Service in Eclipse RSE explorer, from here you can navigate through your local systems such as home, and different drives Continue reading

July 22, 2008 Posted by | How Tos, IDE Tools, Technology | , , , , | 8 Comments