[GH-ISSUE #682] Enable scp -C compress option #387

Closed
opened 2026-02-26 23:59:22 +03:00 by kerem · 2 comments
Owner

Originally created by @satels on GitHub (Aug 21, 2018).
Original GitHub issue: https://github.com/electerm/electerm/issues/682

I'm interested for enable compressing when i copy big files

Originally created by @satels on GitHub (Aug 21, 2018). Original GitHub issue: https://github.com/electerm/electerm/issues/682 I'm interested for enable compressing when i copy big files
kerem 2026-02-26 23:59:22 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@zxdong262 commented on GitHub (Aug 23, 2018):

ssh2 docs says the default is only use compression if that is only what the server supports

compress - mixed - Set to true to enable compression if server supports it, 'force' to force compression (disconnecting if server does not support it), or false to explicitly opt out of compression all of the time. Note: this setting is overridden when explicitly setting a compression algorithm in the algorithms configuration option. Default: (only use compression if that is only what the server supports)

refer to this one:
https://serverfault.com/questions/697363/why-is-scp-with-compression-slower-than-without

Compression is desirable on modem lines and other slow connections, but will only slow down things on fast networks.

seems compression should not be used when transfer big files?

<!-- gh-comment-id:415266584 --> @zxdong262 commented on GitHub (Aug 23, 2018): ssh2 docs says the default is `only use compression if that is only what the server supports` > compress - mixed - Set to true to enable compression if server supports it, 'force' to force compression (disconnecting if server does not support it), or false to explicitly opt out of compression all of the time. Note: this setting is overridden when explicitly setting a compression algorithm in the algorithms configuration option. Default: (only use compression if that is only what the server supports) refer to this one: https://serverfault.com/questions/697363/why-is-scp-with-compression-slower-than-without > Compression is desirable on modem lines and other slow connections, but will only slow down things on fast networks. seems compression should not be used when transfer big files?
Author
Owner

@zxdong262 commented on GitHub (Sep 1, 2018):

Close it for now, if you have question or suggestions, feel free to leave a comment.

<!-- gh-comment-id:417823697 --> @zxdong262 commented on GitHub (Sep 1, 2018): Close it for now, if you have question or suggestions, feel free to leave a comment.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/electerm#387
No description provided.