SCP (Secure Copy) allows the files in the local file system or a remote file system to be copied to the local files system or a remote file system. This uses SSH for data transfer and provides the same authentication and same level of security as SSH.
- Medium article: https://medium.com/@ldclakmal/scp-with-java-b7b7dbcdbc85