The UltimateSsh component provides a comprehensive set of interfaces and classes for establishing a Secure Shell (SSH) communication to a server and execute commands on it. It also helps you to add terminal emulation capabilities to your .NET applications within a minute. The library also offers the flexibility, ease of use and rapid development features of a component without the complexities of working with the native socket class or in-depth knowledge of how the Secure Shell protocols are implemented.
Kindly check [UltimateSsh] api documentation .
This wil help you in your goal.