Here in this article we will learn to connect to remote machine using Eclipse IDE.
Tools Used: Eclipse Juno
Remote System Explorer
The Remote System Explorer (RSE) is a perspective and toolkit in Eclipse Workbench, which allows you to connect and work with variety of remote systems with the predefined plug-ins.
RSE helps you in
- Connect to remote system
- Browse remote file systems
- Edit and save remote files
- Transfer files between hosts
- Remote File search
- Execute commands
- Work with processes.
Step 1: Open Remote Systems Perspective
In order to connect to remote system first we need to open Remote Systems Perspective. To open given perspective click Window >> Open Perspective >> Other. Once opened select desired perspective.
Once opened Eclipse IDE will look like below.
Step 2: Define a Connection to Remote System
Next step would be to define a new connection to Remote System. In the RSE Perspective, Remote Systems View, press the New Connection button.
Step 2: Select Remote System Type
Once above button clicked a new window will opened like below.
Eclipse IDE supports different system types to connect.
- FTP Only : Connection for FTP access to remote systems
- Linux : Any distribution of LINUX
- Local : Local file system on this computer
- SSH Only: Connection for SSH access to remote systems.
- Telnet Only: Connection for Telnet access to remote systems.
- UNIX: Any distribution of UNIX.
- Windows: Any version of Microsoft Windows
Select remote system (FTP Only in this case) from given window and click Next.
Step 3: Provide System Connection Details
Once remote system type is selected, next part would be to provide connection details(HOSTName) in the next Screen as below (FTP only). And click Finish.
Step 4: Connect to Remote System
If everything is fine then a new Remote connection will be created in Remote Systems View as shown below.
Now select the connection and right click then choose “Connect” option from menu.
Provide User ID and PWD in popup window and click OK.
If everything is fine Eclipse should be connected to Remote machine and you can check the output in Console view.