Check out Tmds.Ssh! It is an MIT licensed .NET SSH client library that supports remote execution, forwarding connections and file management. It works with Linux, Windows, macOS and many Linux-based appliances (router, NAS, ...).
github.com/tmds/Tmds.Ssh