| Summary: | Service sshd не стартует при первом запуске дистрибутива | ||
|---|---|---|---|
| Product: | ALT Linux Desktop | Reporter: | bobby <bobby> |
| Component: | bugs | Assignee: | Anton V. Boyarshinov <boyarsh> |
| Status: | CLOSED NOTABUG | QA Contact: | Andrey Cherepanov <cas> |
| Severity: | normal | ||
| Priority: | P3 | CC: | ldv |
| Version: | 4.0.3 | ||
| Hardware: | all | ||
| OS: | Linux | ||
*** Bug 14909 has been marked as a duplicate of this bug. *** *** Bug 14911 has been marked as a duplicate of this bug. *** а если сразу service sshd start, а не restart? Штатный способ запуска службы -- это service sshd start |
при первом запуске дистрибутива не сгенерировались ключи ssh. В результате сервис sshd не стартовал. [root@test209 ~]# service sshd status sshd is stopped [root@test209 ~]# service sshd restart Checking sshd configuration: sshd: Could not load host key: /etc/openssh/ssh_host_rsa_key sshd: Could not load host key: /etc/openssh/ssh_host_dsa_key Disabling protocol version 2. Could not load host key sshd: no hostkeys available -- exiting. [FAILED] [root@test209 ~]# /etc/init.d/sshd restart Checking sshd configuration: sshd: Could not load host key: /etc/openssh/ssh_host_rsa_key sshd: Could not load host key: /etc/openssh/ssh_host_dsa_key Disabling protocol version 2. Could not load host key sshd: no hostkeys available -- exiting. [FAILED] [root@test209 ~]# /etc/init.d/sshd start Generating SSH2 RSA host key: [ DONE ] Generating SSH2 DSA host key: [ DONE ] Generating SSH1 RSA host key: [ DONE ] Starting sshd service: [ DONE ] [root@test209 ~]# service sshd status sshd is running