标题: 这个sshd不怎么寻常啊?? [打印本页] 作者: robin123 时间: 2012-1-7 21:07 标题: 这个sshd不怎么寻常啊?? 刚才修改了一下ssh登录的端口。修改的是/etc/ssh/sshd_config 把端口给改了
等我要用service sshd restart 重启时,显示sshd: unrecognized service
再用/etc/init.d/ssh.d restart 重启时 No such file or directory
最后发现/etc/init.d/ 下面没有sshd文件,只有ssh文件
然后试了/etc/init.d/ssh restart
显示 Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service ssh restart
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the restart(8) utility, e.g. restart ssh
ssh start/running, process 3749