El 22/03/12 17:02, Sid Boyce escribió:
On 22/03/12 18:13, Cristian Rodríguez wrote:
El 21/03/12 21:58, Sid Boyce escribió:
After upgrading to Milestone 2 I wasn't able to ssh into the box after a reboot. /lib/systemd/system/sshd.service had the "-D" option so connections were being refused.
and what is the problem ?
"-D When this option is specified, sshd will not detach and does not become a daemon. This allows easy monitoring of sshd. "
Unless there is something else wrong, -D does exactly what instructed to.. does not fork()... systemd documentation discourages forking daemons and documentation recommends using the current mode instead.
The behaviour I saw was returns of "Connection refused". Removed "-D" and restarted sshd and all logins since have been successful. Regards Sid.
No !, if you modify /lib/systemd/system/sshd.service it will be overwritten at any time, if you do such change, you most copy /lib/systemd/system/sshd.service to /etc/systemd/system and edit there. if you remove the "-D" (which is not a fix either) you must set Type=forking on the [Service] section. The service must have failed due to other reason, does the log say something relevant ? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org