[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#841782: openssh-client: SSH disconnects after 10 seconds (or less)



Package: openssh-client
Version: 1:7.3p1-1
Severity: important

Dear Maintainer,

ssh disconnects after a few seconds after connection (tried two different
servers with different OSes):

$ time ssh root@XXX
Last login: Sun Oct 23 13:14:41 2016 from YYY
root@104:~# packet_write_wait: Connection to ZZZ port 22: Broken pipe

real	0m10.342s
user	0m0.024s
sys	0m0.000s

I tried (after recommendations in Internet) to add

Host *
TCPKeepAlive yes
ServerAliveInterval 120
ServerAliveCountMax 5

but this does not help :-(

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable-updates'), (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 4.7.0-1-686-pae (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages openssh-client depends on:
ii  adduser           3.115
ii  dpkg              1.18.10
ii  libc6             2.24-3
ii  libedit2          3.1-20150325-1+b1
ii  libgssapi-krb5-2  1.14.3+dfsg-2
ii  libselinux1       2.5-3
ii  libssl1.0.2       1.0.2j-1
ii  passwd            1:4.2-3.2
ii  zlib1g            1:1.2.8.dfsg-2+b1

Versions of packages openssh-client recommends:
ii  xauth  1:1.0.9-1

Versions of packages openssh-client suggests:
ii  keychain      2.8.1-0.1
pn  libpam-ssh    <none>
pn  monkeysphere  <none>
pn  ssh-askpass   <none>

-- Configuration Files:
/etc/ssh/ssh_config changed:
Host *
    SendEnv LANG LC_*
    HashKnownHosts yes
    GSSAPIAuthentication yes
    GSSAPIDelegateCredentials no
Host *
TCPKeepAlive yes
ServerAliveInterval 120
ServerAliveCountMax 5


-- no debconf information


Reply to: