Expanded the example to work with JSch.