Fixing #20: On re-connect, we are checking if we are already connected. This comparison was based solely on the remote hostname. As a result, connecting to the same host with a different username was impossible.
This commit/branch adds a host.equals() method which compares host configurations using all remote hostname, username and port.
Fixing #20: On re-connect, we are checking if we are already connected. This comparison was based solely on the remote hostname. As a result, connecting to the same host with a different username was impossible.
This commit/branch adds a
host.equals()
method which compares host configurations using all remote hostname, username and port.Tested locally with a mock user