1Panel icon indicating copy to clipboard operation
1Panel copied to clipboard

[Bug] Ubuntu 25 gets the current user exception for ssh

Open DracoFeline opened this issue 6 months ago • 2 comments

Contact Information

[email protected]

1Panel Version

v2.0.9

Problem Description

Image SSH日志 Ubuntu25.04

Steps to Reproduce

终端使用root账号和密码进行登录,但SSH出现root和user两个账号的登录,其中user不存在

The expected correct result

No response

Related log output


Additional Information

No response

DracoFeline avatar Aug 14 '25 17:08 DracoFeline

感谢反馈,出现两条日志是因为有一个连接检测,正常通过才会连接

user 用户应该是因为go user.Current() 在 ubuntu 25 上面返回不太对,后面兼容一下

ssongliu avatar Aug 15 '25 01:08 ssongliu

方便借用机器我们兼容一下吗?

ssongliu avatar Sep 02 '25 09:09 ssongliu