[GH-ISSUE #22] 终端一直提示 Login incorrect #7129

Closed
opened 2026-03-12 19:09:23 +03:00 by kerem · 5 comments
Owner

Originally created by @suiyueou on GitHub (Jul 24, 2022).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/22

刚刚心血来潮想试试 Nginx UI 附带的终端,但是发现用户和密码正确的情况下,一直都是提示 Login incorrect,是因为部署在了 Docker 容器里还是为什么嘞(~

-1a7a79df2c9885ed.jpg

Originally created by @suiyueou on GitHub (Jul 24, 2022). Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/22 刚刚心血来潮想试试 Nginx UI 附带的终端,但是发现用户和密码正确的情况下,一直都是提示 Login incorrect,是因为部署在了 Docker 容器里还是为什么嘞(~ ![-1a7a79df2c9885ed.jpg](https://user-images.githubusercontent.com/48700331/180644023-48d58a62-5d57-48a8-884d-569fd5244f6c.jpg)
kerem 2026-03-12 19:09:23 +03:00
Author
Owner

@0xJacky commented on GitHub (Jul 24, 2022):

使用 Docker 部署的话,终端只能登录到容器内(因此不推荐使用 Docker部署

对于容器部署,需要先进入容器执行 passwd sshd 设置密码,然后可以用 sshd 账号和设置的密码登录

后续考虑对于容器部署自动登录终端

2022年7月24日 下午7:00,cainb @.***> 写道:

刚刚心血来潮想试试 Nginx UI 附带的终端,但是发现用户和密码正确的情况下,一直都是提示 Login incorrect,是因为部署在了 Docker 容器里还是为什么嘞(~

https://user-images.githubusercontent.com/48700331/180644023-48d58a62-5d57-48a8-884d-569fd5244f6c.jpg

Reply to this email directly, view it on GitHub https://github.com/0xJacky/nginx-ui/issues/22, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADD5QGKOFMR4YU44WAH422DVVUO5TANCNFSM54PPISCA.
You are receiving this because you are subscribed to this thread.

<!-- gh-comment-id:1193295955 --> @0xJacky commented on GitHub (Jul 24, 2022): 使用 Docker 部署的话,终端只能登录到容器内(因此不推荐使用 Docker部署 对于容器部署,需要先进入容器执行 passwd sshd 设置密码,然后可以用 sshd 账号和设置的密码登录 后续考虑对于容器部署自动登录终端 > 2022年7月24日 下午7:00,cainb ***@***.***> 写道: > > > 刚刚心血来潮想试试 Nginx UI 附带的终端,但是发现用户和密码正确的情况下,一直都是提示 Login incorrect,是因为部署在了 Docker 容器里还是为什么嘞(~ > > <https://user-images.githubusercontent.com/48700331/180644023-48d58a62-5d57-48a8-884d-569fd5244f6c.jpg> > — > Reply to this email directly, view it on GitHub <https://github.com/0xJacky/nginx-ui/issues/22>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ADD5QGKOFMR4YU44WAH422DVVUO5TANCNFSM54PPISCA>. > You are receiving this because you are subscribed to this thread. >
Author
Owner

@suiyueou commented on GitHub (Jul 24, 2022):

使用 Docker 部署的话,终端只能登录到容器内(因此不推荐使用 Docker部署

对于容器部署,需要先进入容器执行 passwd sshd 设置密码,然后可以用 sshd 账号和设置的密码登录

后续考虑对于容器部署自动登录终端

喔!原来如此(~

<!-- gh-comment-id:1193296346 --> @suiyueou commented on GitHub (Jul 24, 2022): > 使用 Docker 部署的话,终端只能登录到容器内(因此不推荐使用 Docker部署 > > 对于容器部署,需要先进入容器执行 passwd sshd 设置密码,然后可以用 sshd 账号和设置的密码登录 > > 后续考虑对于容器部署自动登录终端 喔!原来如此(~
Author
Owner

@0xJacky commented on GitHub (Jul 24, 2022):

刚更新的镜像已支持修改 WebShell 启动命令,可以在 app.ini 中增加 StartCmd=bash 即可覆盖原有的 login 指令。

2022年7月24日 下午7:16,cainb @.***> 写道:

使用 Docker 部署的话,终端只能登录到容器内(因此不推荐使用 Docker部署

对于容器部署,需要先进入容器执行 passwd sshd 设置密码,然后可以用 sshd 账号和设置的密码登录

后续考虑对于容器部署自动登录终端

喔!原来如此(~


Reply to this email directly, view it on GitHub https://github.com/0xJacky/nginx-ui/issues/22#issuecomment-1193296346, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADD5QGIGOEKN4ZGZFCYP753VVUQYZANCNFSM54PPISCA.
You are receiving this because you commented.

<!-- gh-comment-id:1193311449 --> @0xJacky commented on GitHub (Jul 24, 2022): 刚更新的镜像已支持修改 WebShell 启动命令,可以在 app.ini 中增加 `StartCmd=bash` 即可覆盖原有的 login 指令。 > 2022年7月24日 下午7:16,cainb ***@***.***> 写道: > > > 使用 Docker 部署的话,终端只能登录到容器内(因此不推荐使用 Docker部署 > > 对于容器部署,需要先进入容器执行 passwd sshd 设置密码,然后可以用 sshd 账号和设置的密码登录 > > 后续考虑对于容器部署自动登录终端 > > 喔!原来如此(~ > > — > Reply to this email directly, view it on GitHub <https://github.com/0xJacky/nginx-ui/issues/22#issuecomment-1193296346>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/ADD5QGIGOEKN4ZGZFCYP753VVUQYZANCNFSM54PPISCA>. > You are receiving this because you commented. >
Author
Owner

@suiyueou commented on GitHub (Jul 24, 2022):

刚更新的镜像已支持修改 WebShell 启动命令,可以在 app.ini 中增加 StartCmd=bash 即可覆盖原有的 login 指令。

好耶!我一会回窝了就去试试(~

<!-- gh-comment-id:1193311806 --> @suiyueou commented on GitHub (Jul 24, 2022): > 刚更新的镜像已支持修改 WebShell 启动命令,可以在 app.ini 中增加 `StartCmd=bash` 即可覆盖原有的 login 指令。 好耶!我一会回窝了就去试试(~
Author
Owner

@suiyueou commented on GitHub (Jul 24, 2022):

刚更新的镜像已支持修改 WebShell 启动命令,可以在 app.ini 中增加 StartCmd=bash 即可覆盖原有的 login 指令。

可以啦!太棒啦(~

<!-- gh-comment-id:1193331869 --> @suiyueou commented on GitHub (Jul 24, 2022): > 刚更新的镜像已支持修改 WebShell 启动命令,可以在 app.ini 中增加 `StartCmd=bash` 即可覆盖原有的 login 指令。 可以啦!太棒啦(~
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-ui#7129
No description provided.