Uploaded image for project: 'MINA SSHD'
  1. MINA SSHD
  2. SSHD-199

Support binding SSHd to multiple addresses

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.9.0
    • 0.9.0
    • None

    Description

      At the moment the SSHd can only be bound to a single IP address.

      If null is supplied to the SshServer#setHost(String) method, the SSHd binds to all local addresses (that is the default behavior if an InetSocketAddr is created without an explicit address).

      However, if a hostname or IP address is specified, the SSHd only binds to this address. If the hostname points to an IPv4 as well as an IPv6 address. SSHd only binds to the IPv4 address.

      Desired behavior:
      If a hostname is specified that points to an IPv4 and IPv6 address, SSHd should bind to both addresses. If multiple addresses or hostnames are specified (e.g. separated by commas), SSHd should bind to all those addresses.

      Attachments

        1. sshd-multiple-addresses.patch
          2 kB
          Sebastian Marsching

        Activity

          People

            gnodet Guillaume Nodet
            smarsching Sebastian Marsching
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: