Ask Your Question
0

SSHD enabled but won't start

asked 2014-05-10 06:29:20 -0500

hookie gravatar image

Hello, In my fresh Fedora20 installation, SSHD service starts only manually, although has been "enabled".

Details: * port 7822 * iptables: Accept If protocol is TCP and destination port is 7822

Be noticed that there is no problem in startup on boot of other services (smb, httpd etc..)

Thank you!

edit retag flag offensive close merge delete

Comments

If you want to enable SSH for the system you can simply enable it in Settings - Sharing - Remote Login.

yanglifu90 gravatar imageyanglifu90 ( 2014-05-10 10:57:25 -0500 )edit

As I said, it is already enabled. Unfortunately in every boot the service should be started manually.. Please see below:

sshd.service - OpenSSH server daemon Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled)

Any idea? :-(

hookie gravatar imagehookie ( 2014-05-10 11:38:49 -0500 )edit

what are you trying to do?

yanglifu90 gravatar imageyanglifu90 ( 2014-05-10 13:28:24 -0500 )edit

I think it is clear: I wish, on boot the sshd service to be started automatically, not manually.

hookie gravatar imagehookie ( 2014-05-10 13:39:27 -0500 )edit

what does

# systemctl status sshd

say: does it show sshd 'enabled'? if it is said "disabled", then type:

# systemctl enable sshd
tonioc gravatar imagetonioc ( 2014-05-11 05:13:12 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-05-11 16:29:02 -0500

Rabin gravatar image

What is the output of journalctl -u sshd.service --this-boot ?

edit flag offensive delete link more

Comments

[root@Hermes ~]# journalctl -u sshd.service --this-boot -- Logs begin at Sun 2014-04-20 23:35:25 EEST, end at Mon 2014-05-12 01:01:01 EEST. -- May 10 13:59:16 Hermes systemd[1]: Starting OpenSSH server daemon... May 10 13:59:16 Hermes systemd[1]: Started OpenSSH server daemon. May 10 13:59:16 Hermes sshd[2557]: Server listening on 0.0.0.0 port 7822. May 10 13:59:16 Hermes sshd[2557]: Server listening on :: port 7822.

hookie gravatar imagehookie ( 2014-05-11 17:05:14 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2014-05-10 06:29:20 -0500

Seen: 712 times

Last updated: May 11 '14