Summary
In this chapter, we covered connecting to Windows computers with WinRM, and how to enable it if it's not already set up. We also learned how to enable the SSH server on Windows, and how to securely configure it and connect with public/private key authentication.
We also covered client tools such as SSH and SCP, which provide a unified way to work with both Windows and Linux systems. We used our ~/.ssh/config
file to keep a record of our servers and their associated configuration, such as IPs, hostnames, and private keys.
Finally, we showed how to integrate all of this with Windows Terminal so we can quickly access remote servers with the press of a button. In the next chapter, we'll move from managing single computers via SSH to managing fleets of servers in the cloud with Windows Terminal.