一天遇到两个奇奇怪怪的问题也是醉了
第二个问题是ssh service 无法正常启动问题
因为ssh挂掉了 所以用telnet 来访问 接着sudo su - root
在root下面,重启了一下sshd
synoservice --restart ssh-shell
这种后面跟enable啊 disable啊 start stop restart 都是不会有结果显示的
所以只能用status检查
![91a2bcc08354884547334ca1ee770bcf.png](https://img-blog.csdnimg.cn/img_convert/91a2bcc08354884547334ca1ee770bcf.png)
插入个文本,便于其他人搜索吧。(狗头)
root@woniu-Synology:/sys/kernel# synoservice --status ssh-shell
service [ssh-shell] status=[error]
required upstart job:
[ssh-shell] is stop.
[sshd] is stop.
error ,上google搜问题,没有结果,然后上官网搜索,没有结果。
睡了一觉想起来,不就是linux吗?
可以用这个试试看 sshd -t
啊哈,可以了.....= = 报错信息出来,某个目录权限不对
截图如下
![83062c22cef915ff661a773b830fac5a.png](https://img-blog.csdnimg.cn/img_convert/83062c22cef915ff661a773b830fac5a.png)
后来在这个网站上也看到类似问题,好吧...= = 做个笔记给其他人看看
Synology Communitycommunity.synology.com