in reply to Re^3: How to catch/avoid SSHConnectionAborted
in thread How to catch/avoid SSHConnectionAborted

The $login_output variable only contains the prompt for password: Password: I think its contents is installation dependent.
  • Comment on Re^4: How to catch/avoid SSHConnectionAborted