• Fabian Vogt's avatar
    sftp: Allow compression if necessary · f3ad370f
    Fabian Vogt authored
    Specifying only "none" as compression method causes the exchange to fail if
    the server doesn't support "none".
    
    Use the same options as OpenSSH does by default. The Compression=yes/no option
    in the config file overrides them if specified.
    
    Setting the options explicitly can be dropped in the future after libssh
    adjusts its built-in defaults.
    
    (cherry picked from commit c5a9722d)
    f3ad370f