Decreased speeds when using JSch put compared to scp
I'm using JSch's ChannelSftp.put(InputStream, String) to upload files to a remote server. JSch version is 0.1.54. The average speed I am seeing for a 20MB file is 5.2MB/s, but when I transfer the same file over scp I am seeing a speed of 11.2MB/s. I've tried adding compression to my session configuration, but that does not have any affect. Wondering if there is anything else I can try to get speeds closer to scp, or if I'm going to hit a wall regardless. Thanks in advance.
Changing password using Jsch and ChannelExec
how to delete local file using jsch after file is sent to remote SFTP server directory
com.jcraft.jsch.JSchException: Auth fail error
Creating a new file in SSH enabled system using JSCH
How to interact with the script after its execution using Jsch
java jsch -executing multiple unix commands
How to get one stream from error stream and input stream when calling a script using JSCH
SFTP using jschexception verify false sometimes fails
how to increase the jsch buffer size?
The cipher 'aes256-cbc' is required, but it is not available
How to pause/resume procedure while/after upload file by ChannelSftp
jsch + running multiple command in shell after SU and then close channal
NGit/Nsch Generating SSH Keypair (c# Jgit)
Extract userInfo from JSCH stream
Running a Shell Script using java ( process Builder ) with a specific unix user
Java jsch and resuming file upload after interruption?