01/10/2012, 17:18
|
| | | Fecha de Ingreso: enero-2005 Ubicación: aquí
Mensajes: 380
Antigüedad: 19 años, 9 meses Puntos: 0 | |
Problemas con Proftpd - sftp Hola a todos, tengo un problema que no encuentro como resolverlo, espero que me puedan ayudar, instale proftd+mysql y lo quiero configurar con sftp.
Así tengo confiigurado proftpd.conf
######### SFTP
SFTPEngine on # use SFTP instead of FTP
Port 2222
SFTPHostKey /root/.ssh/id_rsa
SFTPHostKey /root/.ssh/id_dsa
DefaultRoot ~ # Jail the FTP users to within their homedir
SQLAuthTypes Plaintext Crypt
SQLAuthenticate users* groups*
SQLBackend mysql
SQLConnectInfo proftp@localhost root pass
SQLUserInfo ftpuser userid passwd uid gid homedir shell
SQLGroupInfo ftpgroup groupname gid members
SQLMinID 500
CreateHome on
SQLLog PASS updatecount
SQLNamedQuery updatecount UPDATE "count=count+1, accessed=now() WHERE userid='%u'" ftpuser
SQLLog STOR,DELE modified
SQLNamedQuery modified UPDATE "modified=now() WHERE userid='%u'" ftpuser
RootLogin off
RequireValidShell off
# IMPORTANT: required for bandwidth accounting
TransferLog /var/log/proftpd/xferlog
SystemLog /var/log/proftpd/proftpd.log
SFTPLog /var/log/proftpd/sftp.log
Al hacer una prueba me sale un error y este es lo que viene en el log
ct 01 18:02:38 mod_sftp/0.9.7[6006]: using '/root/.ssh/id_rsa' as RSA hostkey
Oct 01 18:02:38 mod_sftp/0.9.7[6006]: using '/root/.ssh/id_dsa' as DSA hostkey
Oct 01 18:02:38 mod_sftp/0.9.7[6006]: received client version 'SSH-2.0-PuTTY_Local:_Jan__8_2012_14:40:35'
Oct 01 18:02:38 mod_sftp/0.9.7[6006]: handling connection from SSH2 client 'PuTTY_Local:_Jan__8_2012_14:40:35'
Oct 01 18:02:38 mod_sftp/0.9.7[6006]: + Session key exchange: diffie-hellman-group-exchange-sha256
Oct 01 18:02:38 mod_sftp/0.9.7[6006]: + Session server hostkey: ssh-rsa
Oct 01 18:02:38 mod_sftp/0.9.7[6006]: + Session client-to-server encryption: aes256-ctr
Oct 01 18:02:38 mod_sftp/0.9.7[6006]: + Session server-to-client encryption: aes256-ctr
Oct 01 18:02:38 mod_sftp/0.9.7[6006]: + Session client-to-server MAC: hmac-sha1
Oct 01 18:02:38 mod_sftp/0.9.7[6006]: + Session server-to-client MAC: hmac-sha1
Oct 01 18:02:38 mod_sftp/0.9.7[6006]: + Session client-to-server compression: none
Oct 01 18:02:38 mod_sftp/0.9.7[6006]: + Session server-to-client compression: none
Oct 01 18:02:39 mod_sftp/0.9.7[6006]: sending acceptable userauth methods: keyboard-interactive,password
Oct 01 18:02:41 mod_sftp/0.9.7[6006]: sending userauth failure; remaining userauth methods: password
Oct 01 18:02:41 mod_sftp/0.9.7[6006]: client sent SSH_MSG_IGNORE message (19 bytes)
Oct 01 18:02:42 mod_sftp/0.9.7[6006]: error reading from client (fd 0): Connection reset by peer
Oct 01 18:02:42 mod_sftp/0.9.7[6006]: disconnecting client (Connection reset by peer)
Que estoy haciendo mal?
Saludos a todos! |