Next Topic

Previous Topic

Book Contents

Open

bool Open(int iPort,string sUsername,string sPassword)

Return values

Non zero if the function is successful; otherwise 0, and a specific error code can be retrieved by calling function GetErrorDescription. If the failure is a result of the command more information can be retrieved by calling GetStdErr.

Parameters

  • iPort - SSH port, default 23.
  • sUsername - Username
  • sPassword - Password