1Panel
1Panel copied to clipboard
[Bug] Ubuntu 25 gets the current user exception for ssh
Contact Information
1Panel Version
v2.0.9
Problem Description
Steps to Reproduce
终端使用root账号和密码进行登录,但SSH出现root和user两个账号的登录,其中user不存在
The expected correct result
No response
Related log output
Additional Information
No response
感谢反馈,出现两条日志是因为有一个连接检测,正常通过才会连接
user 用户应该是因为go user.Current() 在 ubuntu 25 上面返回不太对,后面兼容一下
方便借用机器我们兼容一下吗?