It would be nice if the Error code was included in the SSHException (when available). * Or any other way to retrieve the last status code. Thx See StatusCodes.cs or 