title: Use Jsch to implement scp and additionally not reinvent the wheel
body: <p>"How to copy a file using Jsch?" was the question first in place. As using Jsch is complicated and error-prone and also works very low-level, you need to program several lines to get a simple scp working.</p>
  
  <p>So, how do I implement a scp (or even sftp) with as few lines of code as possible in <strong>Java</strong> and not violate the DRY principle?</p>