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

Vasiliy G Tolstov v.tolstov at selfip.ru
Tue Feb 8 02:41:25 PST 2011


On Tue, 2011-02-08 at 11:09 +0100, Lennart Poettering wrote:
> 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
> 

status says:

Loaded: loaded (/lib64/systemd/system/sshd.socket)
Active: failed since Mon, 07 Feb 2011 22:36:51 +0300; 15h ago
Accepted: 1596; Connected: 0
CGroup: name=systemd:/system/sshd.socket


-- 
Vasiliy G Tolstov <v.tolstov at selfip.ru>
Selfip.Ru



More information about the systemd-devel mailing list