[Bug 3729] the new sshd does not work under the supervision of inetd
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Tue Sep 10 21:44:41 AEST 2024
https://bugzilla.mindrot.org/show_bug.cgi?id=3729
--- Comment #4 from khalid outaali <khalid.outaali at nav-timing.safrangroup.com> ---
Yes, I tried but somehow whenever `-i` is present in argv in the
context of xinetd, sshd does not log anything, I tried with:
* `/sbin/sshd -i -e -ddd`
* `/sbin/sshd -i -ddd -E /tmp/sshd.log`
* '/sbin/sshd -D -e -o LogLevel=debug`
* `/bin/sh -c "/sbin/sshd -i -ddd -e >> /var/log/sshd.log 2>&1"`
but all those command outside of xinetd log to stdout or file:
```
spfactory at securesync-0e0000:~$ sudo /usr/sbin/sshd -i -d -E
/tmp/sshd.log
SSH-2.0-OpenSSH_9.8
^C
spfactory at securesync-0e0000:~$ sudo cat /tmp/sshd.log
debug1: sshd version OpenSSH_9.8, OpenSSL 3.0.13+SL_CCS-2.1.1 30 Jan
2024
debug1: private host key #0: ssh-rsa
SHA256:/GfNXD7wb4t4vv1ZOA2sHgjjQR3slQ/5X2ikgr+dhDE
debug1: private host key #1: ecdsa-sha2-nistp256
SHA256:LDTO37zRXVJG8ixaoq8PfTrjccLiUxAmDzNAbZ/HXUU
debug1: private host key #2: ssh-ed25519
SHA256:oZb1dPHiGlCN9Y27KDM5/F9yEKe2xd5+41vF6glHcaw
debug1: rexec_argv[1]='-i'
debug1: rexec_argv[2]='-d'
debug1: rexec_argv[3]='-E'
debug1: rexec_argv[4]='/tmp/sshd.log'
debug1: rexec start in -1 out -1 newsock -1 pipe -1 sock 8/9
debug1: sshd version OpenSSH_9.8, OpenSSL 3.0.13+SL_CCS-2.1.1 30 Jan
2024
debug1: network sockets: 5, 6
Connection from UNKNOWN port 65535 on UNKNOWN port 65535
debug1: Local version string SSH-2.0-OpenSSH_9.8
```
--
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
More information about the openssh-bugs
mailing list