WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: OpenSSH / sshd won't allow sessions in release 12  (Read 2495 times)

Offline FlyingDutchman

  • Newbie
  • *
  • Posts: 36
OpenSSH / sshd won't allow sessions in release 12
« on: February 24, 2021, 04:55:03 PM »
Hi,

I've just upgraded a VM from Tinycorelinux Corepure64 release 11 to release 12. After upgrade, I can't login using via ssh. I have checked my config file (which didn't change), checked the firewall (which didn't change) and did a lot of testing and logging, but I can't find the problem. Below the debug log from sshd release 11 (which works fine) and release 12. I've only cut out the part where I see differences, to save on text:

Release 11:
Code: [Select]
debug3: monitor_read: checking request 8
debug3: mm_answer_pwnamallow
debug2: parse_server_config: config reprocess config len 355
debug3: auth_shadow_acctexpired: today 18682 sp_expire -1 days left -18683
debug3: account expiration disabled
debug3: mm_answer_pwnamallow: sending MONITOR_ANS_PWNAM: 1
debug3: mm_request_send entering: type 9
debug2: monitor_read: 8 used once, disabling now
debug2: input_userauth_request: setting up authctxt for login_name [preauth]
debug3: mm_inform_authserv entering [preauth]
debug3: mm_request_send entering: type 4 [preauth]
debug2: input_userauth_request: try method none [preauth]
debug3: mm_auth_password entering [preauth]
debug3: mm_request_send entering: type 12 [preauth]
debug3: mm_auth_password: waiting for MONITOR_ANS_AUTHPASSWORD [preauth]
debug3: mm_request_receive_expect entering: type 13 [preauth]
debug3: mm_request_receive entering [preauth]
debug3: mm_request_receive entering
debug3: monitor_read: checking request 4
debug3: mm_answer_authserv: service=ssh-connection, style=login_name

Release 12:
Code: [Select]
debug3: monitor_read: checking request 8
debug3: mm_answer_pwnamallow
debug2: parse_server_config: config reprocess config len 355
debug3: auth_shadow_acctexpired: today 18682 sp_expire -1 days left -18683
debug3: account expiration disabled
debug3: mm_answer_pwnamallow: sending MONITOR_ANS_PWNAM: 1
debug3: mm_request_send entering: type 9
debug2: monitor_read: 8 used once, disabling now
debug2: input_userauth_request: setting up authctxt for login_name [preauth]
debug3: mm_inform_authserv entering [preauth]
debug3: mm_request_send entering: type 4 [preauth]
debug2: input_userauth_request: try method none [preauth]
debug3: user_specific_delay: user specific delay 0.000ms [preauth]
debug3: ensure_minimum_time_since: elapsed 1.263ms, delaying 4.245ms (requested 5.508ms) [preauth]
debug1: monitor_read_log: child log fd closed
debug3: mm_request_receive entering
debug3: monitor_read: checking request 4
debug3: mm_answer_authserv: service=ssh-connection, style=login_name
debug2: monitor_read: 4 used once, disabling now
debug3: mm_request_receive entering
debug1: do_cleanup
debug1: Killing privsep child 16315

The behavior I see is that release 12 won't even let me enter my password. I immediately receive a "Connection closed" mesages on the client. In the server log, I see this "debug3: user_specific_delay: user specific delay 0.000ms [preauth]" message, but I have no clue what that means and if it is significant.

I hope someone can help out. If there is a successful setup for sshd in release 12, then please let me know including the configuration; I can then compare it to my setup.

Best regards.

Offline FlyingDutchman

  • Newbie
  • *
  • Posts: 36
Re: OpenSSH / sshd won't allow sessions in release 12
« Reply #1 on: March 06, 2021, 07:13:10 AM »
I see in the package repository that openssh was updated from 8.1p1 to 8.4p1. I upgraded to the new package and that solved my issue.