Typo with dynamically removing port forward in ssh

Bug #1421075 reported by Brad Marshall
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
portable OpenSSH
Unknown
Unknown
openssh (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

When using ssh and managing ssh port forwards with ~C to remove a forward that doesn't exist, the following occurs:

  user@host:~$
  ssh> -KD12345
  Unkown port forwarding.

ie, the mispelling of the work Unknown as 'Unkown'.

This occurs at least on a server running on trusty:

$ dpkg --list | grep openssh
ii openssh-client 1:6.6p1-2ubuntu2 amd64 secure shell (SSH) client, for secure access to remote machines
ii openssh-server 1:6.6p1-2ubuntu2 amd64 secure shell (SSH) server, for secure access from remote machines
ii openssh-sftp-server 1:6.6p1-2ubuntu2 amd64 secure shell (SSH) sftp server module, for SFTP access from remote machines

Please let me know if you need any more information.

Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Thanks for taking your time to report this issue and help making Ubuntu better.

I can confirm that this typo is still present in openssh 1:7.4p1-6 on Ubuntu Zesty, more specifically in the file clientloop.c. It looks like this issue isn't introduced by packaging in Debian/Ubuntu, but seems to be in openssh itself. I wonder if a fix should be forwarded there.

Changed in openssh (Ubuntu):
status: New → Confirmed
tags: added: bitesize string-fix trusty xenial yakkety zesty
Colin Watson (cjwatson)
Changed in openssh (Ubuntu):
status: Confirmed → Triaged
importance: Undecided → Low
Revision history for this message
Hans Joachim Desserud (hjd) wrote :

As mentioned in the upstream bug report, this issue has been fixed in OpenSSH, and the fix is included in the openssh package (1:7.5p1-10) in Ubuntu 17.10 and later.

Changed in openssh (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.