Я немного теряюсь в устранении этой проблемы. Мы запускаем сервер Ubuntu 14, который функционирует как сервер SFTP.
OpenSSH_6.6.1p1 Ubuntu-2ubuntu2.10, OpenSSL 1.0.1f 6 января 2014 г.
В сеансе SSH клиент получает спорадические потери файлов, которые они передают на наш сервер. Он говорит, что «удаленный» сеанс закрыт на их стороне.
I.E. они передают иногда 30-40 файлов и 3 не могут передать - но не всегда! Это иногда случается.
Я включил подробное ведение журнала SFTP, и, например, вчера в 18:04 клиент пожаловался на пропадание файлов. Разумеется, в журналах я обнаружил «сеанс, закрытый сервером», но не сообщение об ошибке аутентификации.
Вот кусок журнала - если кто-нибудь может помочь мне понять, куда мне идти дальше, дайте мне знать! Может ли «событие 12» в конце на что-то намекнуть? Я искал «сбои» и «ошибки», но ничего не нашел.
Oct 30 17:51:02 sftp-01 sshd[13005]: debug1: userauth-request for user 99_USER service ssh-connection method none [preauth]
Oct 30 17:51:02 sftp-01 sshd[13007]: debug1: userauth-request for user 99_USER service ssh-connection method none [preauth]
Oct 30 17:51:02 sftp-01 sshd[13006]: debug1: userauth-request for user 99_USER service ssh-connection method none [preauth]
Oct 30 17:51:19 sftp-01 sshd[13006]: debug1: user 99_USER does not match group list cust226 at line 897
Oct 30 17:51:19 sftp-01 sshd[13007]: debug2: input_userauth_request: setting up authctxt for 99_USER [preauth]
Oct 30 17:51:19 sftp-01 sshd[13007]: debug1: PAM: initializing for "99_USER"
Oct 30 17:51:19 sftp-01 sshd[13006]: debug2: input_userauth_request: setting up authctxt for 99_USER [preauth]
Oct 30 17:51:19 sftp-01 sshd[13006]: debug1: PAM: initializing for "99_USER"
Oct 30 17:51:19 sftp-01 sshd[13005]: debug1: userauth-request for user 99_USER service ssh-connection method password [preauth]
Oct 30 17:51:19 sftp-01 sshd[13005]: debug1: PAM: password authentication accepted for 99_USER
Oct 30 17:51:19 sftp-01 sshd[13005]: Accepted password for 99_USER from 159.208.32.127 port 10000 ssh2
Oct 30 17:51:19 sftp-01 sshd[13005]: debug1: monitor_child_preauth: 99_USER has been authenticated by privileged process
Oct 30 17:51:19 sftp-01 sshd[13005]: pam_unix(sshd:session): session opened for user 99_USER by (uid=0)
Oct 30 17:51:19 sftp-01 sshd[13006]: debug1: userauth-request for user 99_USER service ssh-connection method password [preauth]
Oct 30 17:51:19 sftp-01 sshd[13006]: debug1: PAM: password authentication accepted for 99_USER
Oct 30 17:51:19 sftp-01 sshd[13006]: Accepted password for 99_USER from 159.208.32.127 port 10001 ssh2
Oct 30 17:51:19 sftp-01 sshd[13006]: debug1: monitor_child_preauth: 99_USER has been authenticated by privileged process
Oct 30 17:51:19 sftp-01 sshd[13006]: pam_unix(sshd:session): session opened for user 99_USER by (uid=0)
Oct 30 17:51:19 sftp-01 sshd[13007]: debug1: userauth-request for user 99_USER service ssh-connection method password [preauth]
Oct 30 17:51:19 sftp-01 sshd[13007]: debug1: PAM: password authentication accepted for 99_USER
Oct 30 17:51:19 sftp-01 sshd[13007]: Accepted password for 99_USER from 159.208.32.127 port 10100 ssh2
Oct 30 17:51:19 sftp-01 sshd[13007]: debug1: monitor_child_preauth: 99_USER has been authenticated by privileged process
Oct 30 17:51:19 sftp-01 sshd[13007]: pam_unix(sshd:session): session opened for user 99_USER by (uid=0)
Oct 30 18:04:20 sftp-01 sshd[13005]: pam_unix(sshd:session): session closed for user 99_USER
Oct 30 18:04:20 sftp-01 sshd[13007]: pam_unix(sshd:session): session closed for user 99_USER
Oct 30 18:04:20 sftp-01 sshd[13006]: pam_unix(sshd:session): session closed for user 99_USER
Oct 30 18:04:20 sftp-01 sshd[13005]: debug3: mm_request_receive entering
Oct 30 18:04:20 sftp-01 sshd[13005]: debug1: do_cleanup
Oct 30 18:04:20 sftp-01 sshd[13005]: debug1: PAM: cleanup
Oct 30 18:04:20 sftp-01 sshd[13005]: debug1: PAM: closing session
Oct 30 18:04:20 sftp-01 sshd[13005]: pam_unix(sshd:session): session closed for user 99_USER
Oct 30 18:04:20 sftp-01 sshd[13005]: debug1: PAM: deleting credentials
Oct 30 18:04:20 sftp-01 sshd[13005]: debug3: PAM: sshpam_thread_cleanup entering
Oct 30 18:04:20 sftp-01 sshd[13005]: debug1: audit_event: unhandled event 12
Oct 30 18:04:20 sftp-01 sshd[13007]: debug3: mm_request_receive entering
Oct 30 18:04:20 sftp-01 sshd[13007]: debug1: do_cleanup
Oct 30 18:04:20 sftp-01 sshd[13007]: debug1: PAM: cleanup
Oct 30 18:04:20 sftp-01 sshd[13007]: debug1: PAM: closing session
Oct 30 18:04:20 sftp-01 sshd[13007]: pam_unix(sshd:session): session closed for user 99_USER
Oct 30 18:04:20 sftp-01 sshd[13006]: debug3: mm_request_receive entering
Oct 30 18:04:20 sftp-01 sshd[13006]: debug1: do_cleanup
Oct 30 18:04:20 sftp-01 sshd[13006]: debug1: PAM: cleanup
Oct 30 18:04:20 sftp-01 sshd[13006]: debug1: PAM: closing session
Oct 30 18:04:20 sftp-01 sshd[13006]: pam_unix(sshd:session): session closed for user 99_USER
Oct 30 18:04:20 sftp-01 sshd[13007]: debug1: PAM: deleting credentials
Oct 30 18:04:20 sftp-01 sshd[13007]: debug3: PAM: sshpam_thread_cleanup entering
Oct 30 18:04:20 sftp-01 sshd[13007]: debug1: audit_event: unhandled event 12
Oct 30 18:04:20 sftp-01 sshd[13006]: debug1: PAM: deleting credentials
Oct 30 18:04:20 sftp-01 sshd[13006]: debug3: PAM: sshpam_thread_cleanup entering
Oct 30 18:04:20 sftp-01 sshd[13006]: debug1: audit_event: unhandled event 12