Package: openssh-server
Version: 1:6.7p1-5
Severity: important

Dear Maintainer,

I tried a little bit around with systemd and socket activation.
So i found a Unit-file on lennard poetterings pideins-blod, where he
uses option "-i" for sshd and socket-activation.

[Unit]
Description=SSH Socket for Per-Connection Servers

[Socket]
ListenStream=22
Accept=yes

[Install]
WantedBy=sockets.target

and

[Unit]
Description=SSH Per-Connection Server

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

this 2 units-files won't work on my debian.

when i try to login, i get this:

$ ssh localhost
jakob@localhost's password: 
Bad packet length 1097032549.
Disconnecting: Packet corrupt

If i start sshd with option "-D", login works, without changing anythin
except this option.

greez

jakob

-- System Information:
Debian Release: 8.2
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates'), (500, 'unstable'), 
(500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.0.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_AT.utf8, LC_CTYPE=de_AT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages openssh-server depends on:
ii  adduser                3.113+nmu3
ii  debconf [debconf-2.0]  1.5.56
ii  dpkg                   1.17.25
ii  init-system-helpers    1.22
ii  libc6                  2.19-18+deb8u1
ii  libcomerr2             1.42.12-1.1
ii  libgssapi-krb5-2       1.12.1+dfsg-19
ii  libkrb5-3              1.12.1+dfsg-19
ii  libpam-modules         1.1.8-3.1
ii  libpam-runtime         1.1.8-3.1
ii  libpam0g               1.1.8-3.1
ii  libselinux1            2.3-2
ii  libssl1.0.0            1.0.1k-3+deb8u1
ii  libwrap0               7.6.q-25
ii  lsb-base               4.1+Debian13+nmu1
ii  openssh-client         1:6.7p1-5
ii  openssh-sftp-server    1:6.7p1-5
ii  procps                 2:3.3.9-9
ii  zlib1g                 1:1.2.8.dfsg-2+b1

Versions of packages openssh-server recommends:
ii  ncurses-term  5.9+20140913-1
ii  xauth         1:1.0.9-1

Versions of packages openssh-server suggests:
pn  molly-guard   <none>
pn  monkeysphere  <none>
pn  rssh          <none>
ii  ssh-askpass   1:1.2.4.1-9
ii  ufw           0.33-2

-- debconf information:
  openssh-server/permit-root-login: false

Reply via email to