Quote:
Originally Posted by rhoekstra
Try inspecting the log files as for why the password failed
|
For the time being: i performed to test sftp in localhost
#sftp maxsftp@localhost -p2222
maxsftp@server01's password:
subsystem request failed on channel 0
Couldn't read packet: Connection reset by peer
here are the logs:
root@server01:~# tail -f /var/log/secure
Jun 27 10:06:01 server01 sshd[28918]: Did not receive identification string from 10.239.30.1
Jun 27 10:06:01 server01 sshd[28918]: Did not receive identification string from 10.239.30.1
Jun 27 10:06:01 server01 sshd[28918]: Did not receive identification string from 10.239.30.1
root@server01:~# tail -f /var/log/messages
Jun 27 10:07:13 server01 proftpd[28966]: 10.239.61.111 (::ffff:10.239.30.1[::ffff:10.239.30.1]) - SSH2 session closed.
Jun 27 10:07:15 server01 proftpd[28967]: 10.239.61.111 (::ffff:10.239.30.1[::ffff:10.239.30.1]) - FTP session opened.
Jun 27 10:07:13 server01 proftpd[28966]: 10.239.61.111 (::ffff:10.239.30.1[::ffff:10.239.30.1]) - SSH2 session closed.
Jun 27 10:07:15 server01 proftpd[28967]: 10.239.61.111 (::ffff:10.239.30.1[::ffff:10.239.30.1]) - FTP session opened.
root@server01:~# tail -f /var/log/proftpd/sftp.log
Jun 27 10:50:45 mod_sftp/0.9.7[30647]: disconnecting client (received EOF)
Jun 27 10:50:48 mod_sftp/0.9.7[30650]: using '/etc/ssh/ssh_host_rsa_key' as RSA hostkey
Jun 27 10:50:48 mod_sftp/0.9.7[30650]: using '/etc/ssh/ssh_host_dsa_key' as DSA hostkey
Jun 27 10:50:48 mod_sftp/0.9.7[30650]: disconnecting client (received EOF)
Jun 27 10:50:50 mod_sftp/0.9.7[30651]: using '/etc/ssh/ssh_host_rsa_key' as RSA hostkey
Jun 27 10:50:50 mod_sftp/0.9.7[30651]: using '/etc/ssh/ssh_host_dsa_key' as DSA hostkey
Jun 27 10:50:50 mod_sftp/0.9.7[30651]: disconnecting client (received EOF)
Any suggestion...