Connecting to Routers via SSH in Java: Executing Commands and Reading Responses

A complete example of using mwiede/jsch to connect to Huawei routers via SSH in Java, send commands, and read responses.