This is the library for you:
SSH.NET Library[
^]. It supports a lot of stuff and also:
Copied from the sites feature list:
- Execution of SSH command using both synchronous and asynchronous methods
- Return command execution exit status and other information
- Provide SFTP functionality for both synchronous and asynchronous operations.
- Provides SCP functionality.
- Provide status report for upload and download sftp operations to allow accurate progress bar implementation
- Remote, dynamic and local port forwarding
- Shell/Terminal implementation.
- Specify key file pass phrase
- Use multiple key files to authenticate
Regards,
— Manfred