I had to manually add support for Pty to get commands run with sudo to work. I created a patch file. Is this something you would like to incorporate? I added the lines to the Connect() function to update the session with requestPty().
easyssh_pty.patch.txt
I had to manually add support for Pty to get commands run with sudo to work. I created a patch file. Is this something you would like to incorporate? I added the lines to the Connect() function to update the session with requestPty().
easyssh_pty.patch.txt