Hi,
thanks for the config, exactly this I was searching for.
But it do not work, I get only a "Protocol error" when I try to connect.
Here is the log of the connection attempt:
Nov 12 18:36:33 mod_sftp/0.9.8[28999]: using '/etc/ssh/ssh_host_dsa_key' as DSA hostkey
Nov 12 18:36:33 mod_sftp/0.9.8[28999]: using '/etc/ssh/ssh_host_rsa_key' as RSA hostkey
Nov 12 18:36:33 mod_sftp/0.9.8[28999]: error using DisplayLogin 'welcome.msg': No such file or directory
Nov 12 18:36:33 mod_sftp/0.9.8[28999]: received client version 'SSH-2.0-WinSCP_release_5.7.6'
Nov 12 18:36:33 mod_sftp/0.9.8[28999]: handling connection from SSH2 client 'WinSCP_release_5.7.6'
Nov 12 18:36:33 mod_sftp/0.9.8[28999]: + Session key exchange: diffie-hellman-group-exchange-sha256
Nov 12 18:36:33 mod_sftp/0.9.8[28999]: + Session server hostkey: ssh-rsa
Nov 12 18:36:33 mod_sftp/0.9.8[28999]: + Session client-to-server encryption: aes256-ctr
Nov 12 18:36:33 mod_sftp/0.9.8[28999]: + Session server-to-client encryption: aes256-ctr
Nov 12 18:36:33 mod_sftp/0.9.8[28999]: + Session client-to-server MAC: hmac-sha1
Nov 12 18:36:33 mod_sftp/0.9.8[28999]: + Session server-to-client MAC: hmac-sha1
Nov 12 18:36:33 mod_sftp/0.9.8[28999]: + Session client-to-server compression: none
Nov 12 18:36:33 mod_sftp/0.9.8[28999]: + Session server-to-client compression: none
Nov 12 18:36:36 mod_sftp/0.9.8[28999]: authentication request for user 'apollox' blocked by 'USER' handler
Nov 12 18:36:36 mod_sftp/0.9.8[28999]: disconnecting (Protocol error)
EDIT:
Problem solved