Jsch – Build from Source

As I’m trying to create a way to remotely execute commands, I found a very nice API that can help me so.


The API is basically a wrapped of low-level platform dependent library can connect to a remote PC – via its own port, and execute commands for it.

I’ve manage to build the actual API code from source and make an Eclipse Project for it. There are also examples (source_examples package) for a head start.

Eclipse Project – Source

How about this. What if you can remotely call this API from your task (ant build task), to restart an Application Server (freeing up some resources) before automatically deploying it? All in one build task? 🙂

How about, transfer files remotely via FTP or SFTP? You can automate your transfer task using this API and develop a simple UI for it. 🙂

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s