Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
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.