Need simple example of java SCP program with private key to transfer files from local to remote machine
===

I am new to java and need a simple example on how to scp a file from local machine to a remote one **using private key**. I came across the terrible documentation in **Jsch** provides with swing code all over the place in their code.. http://www.jcraft.com/jsch/examples/ScpTo.java.html

Does someone have a simple easy to follow java scp implementation to sftp files from local to remote **with private key**?

