If the password field is left blank, easyssh still submits it when prompted by the server. This results in a connection error, and when the dialog is closed and the password entered manually, the error dialog pops back up after logging in.
It seems the method that sends the password isn't checking for an empty string, but simply appending a newline. This results in sending an empty string as the password.
I created a simple patch that wraps the contents of the term_send_password() method in TerminalBox.vala in an if statement that checks for a zero length password before continuing, that seems to fix the issue. The editor won't let me upload a file, so I'm including the text below.
If the password field is left blank, easyssh still submits it when prompted by the server. This results in a connection error, and when the dialog is closed and the password entered manually, the error dialog pops back up after logging in.
It seems the method that sends the password isn't checking for an empty string, but simply appending a newline. This results in sending an empty string as the password.
I created a simple patch that wraps the contents of the term_send_password() method in TerminalBox.vala in an if statement that checks for a zero length password before continuing, that seems to fix the issue. The editor won't let me upload a file, so I'm including the text below.