[Bug 1801128] Re: OpenSSH 7.7 -w tunnel bug

Karl Stenerud karl.stenerud at canonical.com
Wed Nov 7 12:16:54 UTC 2018


** Changed in: openssh (Ubuntu)
     Assignee: (unassigned) => Karl Stenerud (kstenerud)

** Changed in: openssh (Ubuntu Cosmic)
     Assignee: (unassigned) => Karl Stenerud (kstenerud)

** Changed in: openssh (Ubuntu Cosmic)
       Status: New => In Progress

** Description changed:

+ [Impact]
+ 
+ A regression in OpenSSH 7.7 breaks tunnelling via the -w switch in the
+ ssh command.
+ 
+ [Test Case]
+ 
+ # lxc launch ubuntu:cosmic tester && lxc exec tester bash
+ 
+ # apt update && \
+ apt dist-upgrade -y && \
+ sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config && \
+ service sshd restart && \
+ echo ubuntu:ubuntu | chpasswd
+ 
+ # ssh -w any ubuntu at localhost
+ ubuntu at localhost's password: 
+ Tunnel device open failed.
+ Could not request tunnel forwarding.
+ 
+ [Regression Potential]
+ 
+ This is already fixed and tested upstream, and thus has little
+ regression potential.
+ 
+ [Original Description]
+ 
  Just upgraded to cosmic, which picks up OpenSSH 7.7.
  
  OpenSSH 7.7 has known bug
  https://bugzilla.mindrot.org/show_bug.cgi?id=2855 which is fixed in
- OpenSSH 7.8.  It's a regression that completely breaks -w tunneling.
+ OpenSSH 7.8. It's a regression that completely breaks -w tunneling.
  
- The OpenSSH bug contains a trivial two-line patch to fix the bug.  I
+ The OpenSSH bug contains a trivial two-line patch to fix the bug. I
  downloaded the Ubuntu openssh package source, applied the patch and
  rebuilt, and can confirm that is does fix the problem.
  
  Any chance we could get this patch backported to Cosmic?
  
  ProblemType: Bug
  DistroRelease: Ubuntu 18.10
  Package: openssh-client 1:7.7p1-4
  ProcVersionSignature: Ubuntu 4.18.0-10.11-generic 4.18.12
  Uname: Linux 4.18.0-10-generic x86_64
  ApportVersion: 2.20.10-0ubuntu13
  Architecture: amd64
- Date: Thu Nov  1 09:36:16 2018
+ Date: Thu Nov 1 09:36:16 2018
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  RelatedPackageVersions:
-  ssh-askpass       N/A
-  libpam-ssh        N/A
-  keychain          N/A
+  ssh-askpass N/A
+  libpam-ssh N/A
+  keychain N/A
   ssh-askpass-gnome N/A
- SSHClientVersion: OpenSSH_7.7p1 Ubuntu-4, OpenSSL 1.0.2n  7 Dec 2017
+ SSHClientVersion: OpenSSH_7.7p1 Ubuntu-4, OpenSSL 1.0.2n 7 Dec 2017
  SourcePackage: openssh
  UpgradeStatus: Upgraded to cosmic on 2018-11-01 (0 days ago)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1801128

Title:
  OpenSSH 7.7 -w tunnel bug

Status in openssh package in Ubuntu:
  New
Status in openssh source package in Cosmic:
  In Progress

Bug description:
  [Impact]

  A regression in OpenSSH 7.7 breaks tunnelling via the -w switch in the
  ssh command.

  [Test Case]

  # lxc launch ubuntu:cosmic tester && lxc exec tester bash

  # apt update && \
  apt dist-upgrade -y && \
  sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_config && \
  service sshd restart && \
  echo ubuntu:ubuntu | chpasswd

  # ssh -w any ubuntu at localhost
  ubuntu at localhost's password: 
  Tunnel device open failed.
  Could not request tunnel forwarding.

  [Regression Potential]

  This is already fixed and tested upstream, and thus has little
  regression potential.

  [Original Description]

  Just upgraded to cosmic, which picks up OpenSSH 7.7.

  OpenSSH 7.7 has known bug
  https://bugzilla.mindrot.org/show_bug.cgi?id=2855 which is fixed in
  OpenSSH 7.8. It's a regression that completely breaks -w tunneling.

  The OpenSSH bug contains a trivial two-line patch to fix the bug. I
  downloaded the Ubuntu openssh package source, applied the patch and
  rebuilt, and can confirm that is does fix the problem.

  Any chance we could get this patch backported to Cosmic?

  ProblemType: Bug
  DistroRelease: Ubuntu 18.10
  Package: openssh-client 1:7.7p1-4
  ProcVersionSignature: Ubuntu 4.18.0-10.11-generic 4.18.12
  Uname: Linux 4.18.0-10-generic x86_64
  ApportVersion: 2.20.10-0ubuntu13
  Architecture: amd64
  Date: Thu Nov 1 09:36:16 2018
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  RelatedPackageVersions:
   ssh-askpass N/A
   libpam-ssh N/A
   keychain N/A
   ssh-askpass-gnome N/A
  SSHClientVersion: OpenSSH_7.7p1 Ubuntu-4, OpenSSL 1.0.2n 7 Dec 2017
  SourcePackage: openssh
  UpgradeStatus: Upgraded to cosmic on 2018-11-01 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1801128/+subscriptions



More information about the foundations-bugs mailing list