On 2012-02-09 18:53, Badiu Mircea Gabriel wrote:
> Hello,
> 
> I followed the steps from here
> http://0pointer.de/blog/projects/inetd.html to set-up ssh server to
> start when an it detect an incoming connection from remote host vis 22 port.
> 
> [...]
>
> [  108.305615] <87>sshd[373]: debug1: inetd sockets after dupping: 3, 4
> [  108.381723] <86>sshd[373]: Connection from UNKNOWN port 65535
> [  108.450502] <30>sshd[373]: SSH-2.0-OpenSSH_5.6

If you're using an older systemd version (before v36, I think), you
might also need "StandardOutput=socket" in [email protected], otherwise it
defaults to "syslog":

| [Service]
| ExecStart=-/usr/sbin/sshd -i -d
| StandardInput=socket
| StandardOutput=socket

(Most Linux distributions already ship unit files for the most common
services, you should use those if possible.)

-- 
Mantas Mikulėnas
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to