https://bugzilla.mindrot.org/show_bug.cgi?id=3729
--- Comment #4 from khalid outaali <[email protected]> --- 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@securesync-0e0000:~$ sudo /usr/sbin/sshd -i -d -E /tmp/sshd.log SSH-2.0-OpenSSH_9.8 ^C spfactory@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. _______________________________________________ openssh-bugs mailing list [email protected] https://lists.mindrot.org/mailman/listinfo/openssh-bugs
