In the first chapter, we SSH'd to our VM using one command:
$ ssh [email protected] -p2222
[email protected]'s password:
Last login: Mon Aug 6 17:04:31 2018 from gateway
[adam@localhost ~]$
In this chapter, we're going to expand on this, looking at making connecting easier with SSH key pairs; running over the security benefits of SSH; making changes to both the client and server side configuration; setting up a port forward and reverse port forward connections; learning about ProxyJump and bastion hosts, as well as setting up a temporary proxy with SSH; and finally, we're going to look at SSH agents and setting up an additional SSH server on our VM.
This chapter assumes that you have a rudimentary understanding of SSH.