sshd: error: ga_init, unable to resolve user user
sshd: error: get_user_token - unable to generate identity token for user from custom lsa provider: SshdPinAuthLsa
sshd: error: kex_exchange_identification: Connection closed by remote host
openssh日志出现这个情况
win2022启用了管理员账户锁定策略

取消策略后,账号可能还是处于锁定状态,也会影响openssh的连接,可直接使用:
net user administrator /active:yes
提前激活administrator用户,openssh远程连接马上可恢复连接,也可等待系统10分钟自动解锁