love421

问题描述: 新装的群辉DSM5.2刚打开SSH功能,刚连上去就自动断开了,报错如下:

1
2
3
4
5
6
7
8
9
10
11
Connecting to 192.168.0.81:22...
Connection established.
To escape to local shell, press 'Ctrl+Alt+]'.
Your account has expired; please contact your system administrator
Connection closing...Socket close.

Connection closed by foreign host.

Disconnected from remote host(work_NAS) at 16:03:17.

Type `help' to learn how to use Xshell prompt.

解决办法: 登录群辉桌面,然后将admin账号启用,通过admin账号登录SSH就不会有问题了!

操作步骤如下图:

最终效果如下:

1
2
3
4
5
6
7
8
9
10
11
12
Connecting to 192.168.0.81:22...
Connection established.
To escape to local shell, press 'Ctrl+Alt+]'.

WARNING! The remote SSH server rejected X11 forwarding request.
Could not chdir to home directory /var/services/homes/admin: No such file or directory


BusyBox v1.16.1 (2016-04-26 17:25:22 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

love421_NAS>

 评论


Copyright 2019 love421    |    苏ICP备 - 19026298号
载入天数...载入时分秒...    |    字数统计:13.4k    |    访问人数为 人    |    总访问量为
PoweredHexo
ThemeMaterial-X
HostedGitHub
DNSAliyun
PictureBedimgchr
CommentValine
Analytics不蒜子
APlayer网易云
IconFont Awesome

隐藏