Hello, I am trying to copy a file to the remote computer with the ssh connection. I use the ganymed ssh library. For the copying the file I use the SCPClient class
SCPClientand the put method. Everything is working fine but what I would like to add is the progress bar to see the progress of the copying file. I found this tutorial How to Use Progress Bars (The Java™ Tutorials > Creating a GUI With JFC/Swing > Using Swing Components) but I didnt figure out how to put it all together. Could somebody give me any hint or advice how to do it?

Thank you!