Ubuntu's had OpenSSH >= 6.1 for a long time, so closing this.  Sorry for
missing the upstream status change.

** Changed in: openssh (Ubuntu)
       Status: Triaged => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1023360

Title:
  Comments longer than 1024 chars break sshd_config

Status in portable OpenSSH:
  Fix Released
Status in openssh package in Ubuntu:
  Fix Released

Bug description:
  When sshd_config contains a comment of more than 1023 chars, it treats
  char 1024+ as valid configuration. That usually breaks the config, or
  (in case there accidentally is valid sshd_config syntax) is unwanted.

  To verify the bug, apply appended patch to sshd_config (that prepends
  a long comment) and try to start ssh. You will see this:

    $ sudo /usr/sbin/sshd 
    /etc/ssh/sshd_config: line 2: Bad configuration option: 
ThisIsAnInvalidOption
    /etc/ssh/sshd_config: terminating, 1 bad configuration options

  Note that it complains about line 2 though the offending comment is in
  line 1.

  It is worth mentioning that active configuration lines longer than
  1023 chars work fine. (I discovered this bug when i commented out a
  long "Match Address" list)

  
  This bug strikes at on 
   * openssh-server 1:5.3p1-3ubuntu7 (Ubuntu 10.04 LTS)
   * openssh-server 1:5.8p1-7ubuntu1 (Ubuntu 11.10)
   * openssh-server 1:5.9p1-5ubuntu1 (Ubuntu 12.04 LTS)

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to