Solved question about OpenSSH_9.9p2, OpenSSL 3.0.16 11 Feb 2025 in freebsd14.3 ?

dear all :
when running pkg upgrade in freebsd14.3 ....
now the i can't ssh my freebsd14.3 server. :
Code:
error : PAM error authentication failure
anybody can fix this issue ?
 
Why are you using security/openssh-portable instead of the sshd(8) that comes with the base OS? Or did you convert this system to Pkgbase?

anybody can fix this issue ?
Depends, can you still login on the console? If not, then your only course of action is to boot to single user mode and figure out why your PAM configuration seems to be broken. If you can login on the console, you may simply need to restart sshd(8) (freebsd-update(8) does this automagically, Pkgbase probably doesn't)
 
DEar SirDice :
i have used the sshd of base os always. and never used pkgbase... i just running pkg upgrading and update ssh in last week. thanks.
 
i have used the sshd of base os always. and never used pkgbase... i just running pkg upgrading and update ssh in last week.
Contradictio in terminis. The base OS's sshd(8) isn't affected by packages.

You seem to have a PAM issue, what's in /etc/pam.d/sshd? Did you install an extra PAM module? Can you still login on the console, yes or no?
 
Dear SirDice :
Code:
cat /etc/pam.d/sshd 
#
#
# PAM configuration for the "sshd" service
#

# auth
#auth        sufficient    pam_krb5.so        no_warn try_first_pass
#auth        sufficient    pam_ssh.so        no_warn try_first_pass
auth        required    pam_unix.so        no_warn try_first_pass

# account
account        required    pam_nologin.so
#account    required    pam_krb5.so
account        required    pam_login_access.so
account        required    pam_unix.so

# session
#session    optional    pam_ssh.so        want_agent
session        required    pam_permit.so

# password
#password    sufficient    pam_krb5.so        no_warn try_first_pass
password    required    pam_unix.so        no_warn try_first_pass
I have not install any module ..yes, I am login with console ..thanks.
 
Last edited by a moderator:
Dear SirDice :
my freebsd14.3 ip: 192.168.1.70..............windows client IP 192.168.1.73
ssh game@192.168.1.70

restart sshd still got error :
Error: PAM: authentication error for game from 192.168.1.73..

thanks. i think that was caused by pkg upgrade from last week..
 
If you use the base sshd(8) that's not possible.
yes, i am sure.. i have never install any sshd production...
2025year11month18day, i saw the security update , then, i have run "freebsd-update fetch install , pkg upgrade"
that time the sshd have been upgraded.....

then, the vncviewer can't work with ffmpeg , sshd server can't work normal..
before update , the vncviewer and sshd work normal.... thanks.
 
Dear SirDice :
finally , i have find the reason. i have make a big mistake about the user password..
sshd was fine.. that's my fault , i have some much passwords, input a wrong password. thanks. i will close this topic. thanks.
 
Back
Top