[systemd-devel] systemd and sshd.socket/sshd at .service

Lennart Poettering lennart at poettering.net
Tue Feb 8 02:09:12 PST 2011


On Mon, 07.02.11 18:49, Vasiliy G Tolstov (v.tolstov at selfip.ru) wrote:

> Hello. I'm new in this list. 
> I'm using systemd-17. I'm try to use sshd.socket and sshd at .service (run
> sshd in inetd mode). After i'm start service with systemctl start
> sshd.socket i'm able to connect. But after some time (for example
> disconnecting) sshd not respond. netstat -nal says, that nobody listens
> 22 port. After i do systemctl start sshd.socket connection can be
> established....
 
Hmm, what does "systemctl status sshd.socket" say when this happens?
Normally systemd should continue listening until sshd.socket is shut
down and spawn sshd at xxxx.service for every connection.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list