[Proftpd-user] SFTP check-file extension
Miguel Aveiro <[email protected]>
| Newsgroups | gmane.network.proftpd.user |
|---|---|
| Message-ID | <[email protected]> |
Hi all, I'm using ProFTPD Version 1.3.5a on a Ubuntu 16.04 machine. I want to check the remote files hash and compare with the local ones to choose weather or no to download them. I have this config: <IfModule mod_sftp.c> SFTPEngine on Port 2222 SFTPLog /var/log/proftpd/sftp.log # Configure both the RSA and DSA host keys, using the same host key # files that OpenSSH uses. SFTPHostKey /etc/ssh/ssh_host_rsa_key SFTPHostKey /etc/ssh/ssh_host_dsa_key SFTPAuthMethods publickey SFTPAuthorizedUserKeys file:/etc/proftpd/authorized_keys/%u # Enable compression SFTPCompression delayed SFTPExtensions +checkFile </IfModule> I know that checkFile extension should be available by default, but I'm hitting this error: 2018-10-30 18:32:09,989 mod_sftp/0.9.9[869]: sent server version 'SSH-2.0-mod_sftp/0.9.9' 2018-10-30 18:32:09,990 mod_sftp/0.9.9[869]: received client version 'SSH-2.0-paramiko_2.4.2' 2018-10-30 18:32:09,990 mod_sftp/0.9.9[869]: handling connection from SSH2 client 'paramiko_2.4.2' 2018-10-30 18:32:09,990 mod_sftp/0.9.9[869]: + Session key exchange: ecdh-sha2-nistp256 2018-10-30 18:32:09,990 mod_sftp/0.9.9[869]: + Session server hostkey: ssh-rsa 2018-10-30 18:32:09,990 mod_sftp/0.9.9[869]: + Session client-to-server encryption: aes128-ctr 2018-10-30 18:32:09,990 mod_sftp/0.9.9[869]: + Session server-to-client encryption: aes128-ctr 2018-10-30 18:32:09,990 mod_sftp/0.9.9[869]: + Session client-to-server MAC: hmac-sha2-256 2018-10-30 18:32:09,990 mod_sftp/0.9.9[869]: + Session server-to-client MAC: hmac-sha2-256 2018-10-30 18:32:09,990 mod_sftp/0.9.9[869]: + Session client-to-server compression: none 2018-10-30 18:32:09,990 mod_sftp/0.9.9[869]: + Session server-to-client compression: none 2018-10-30 18:32:10,081 mod_sftp/0.9.9[869]: public key MD5 fingerprint: [redacted] 2018-10-30 18:32:10,084 mod_sftp/0.9.9[869]: sending userauth success 2018-10-30 18:32:10,084 mod_sftp/0.9.9[869]: user 'ubuntu' authenticated via 'publickey' method 2018-10-30 18:32:10,086 mod_sftp/0.9.9[869]: 'subsystem' channel request for 'sftp' subsystem 2018-10-30 18:32:10,088 mod_sftp/0.9.9[869]: using SFTP protocol version 3 for this session (channel ID 0) 2018-10-30 18:32:10,104 mod_sftp/0.9.9[869]: client requested 'check-file' extension, rejecting 2018-10-30 18:32:10,205 mod_sftp/0.9.9[869]: disconnecting client (received EOF) 2018-10-30 18:32:10,206 mod_sftp/0.9.9[869]: aborting 1 unclosed file handle I've added SFTPExtensions +checkFile to be sure the extension was enabled... do any of you know why it's rejecting? Other operations on the file like reading line or renaming works fine. Thanks, Miguel [Cyan Connode Logo]<http://www.cyanconnode.com> [Cyan Connode Logo] Miguel Aveiro Senior Software Engineer +44 (0)1223 225060 www.cyanconnode.com<http://www.cyanconnode.com> This e-mail message is confidential and for use by the addressee only. If you are not the intended recipient, please contact us, delete the message from your computer and destroy any copies. Accordingly any dissemination, distribution, copying or other use of this message or any of its content by any person other than the intended recipient is strictly prohibited. Internet e-mails are not necessarily secure, therefore responsibility is not accepted for changes made to this message after it was sent. Any views or opinions expressed are solely those of the author and do not necessarily represent those of CyanConnode Holdings plc or any associated or subsidiary companies. This email has been scanned for viruses. It is the responsibility of the recipient to ensure that the onward transmission, opening or use of this message and any attachments will not adversely affect its systems or data. CyanConnode Holdings plc, Merlin Place, Milton Road, Cambridge CB4 0DP _______________________________________________ ProFTPD Users List <[email protected]> Unsubscribe problems? http://www.proftpd.org/list-unsub.html