Every time I want to run my project on the remote server, I need to export it from Eclipse as a jar file, to transfer the file from my local machine to the remote server using WinSCP and then to use Putty to run it on the remote server. I am wondering is there a more suitable way of handling this, e.g. an Eclipse plugin that allows me to perform this straight from Eclipse.
This functionality is present in Eclipse, called Remote Systems Explorer
.
Open the Remote Systems
view by going to Window
-> Show View
-> Other...
.
Then right click in this view and select on New connection...
.
Select SSH Only
as remote system type and click Next
.
Fill in the necessary information such as hostname and connection name and click Finish
.
Select the Connector
node you just created from the Remote Systems
view and choose Connect...
. Enter your credentials and press Ok
.
If you managed to log in, you will see a green arrow on the node indicating you are connected.
You can right click either Shells
or Terminals
and choose Launch Shell/Terminal
. A new Remote Shell
or Terminal
should appear where you can type in commands.
It is also possible to remotely create files, open/edit and save them from within Eclipse.
More documentation can be found in the Eclipse RSE manual.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With