While .NET Core lacks native support for establishing SSH sessions in its own libraries, there are a number of third-party libraries and NuGet packages that can fill that gap. We'll be looking at one of the most popular of those packages, SSH.NET, and seeing how we can use it to connect to a remote machine and start interacting with it through a virtual terminal.
Establishing SSH connections
Setting up a remote host
For the purposes of this demonstration, we'll need to set up a remote host for us to SSH into. For this, we'll be using an Ubuntu virtual machine, configured on our system with VirtualBox. We'll be installing and operating on an Ubuntu image within our machine. To set this up, you'll want...