For more security your authorized_keys file can also be build to only settle for connections from selected IP addresses or hostnames. Environment that up is further than the scope of the tutorial, but more details on the SSH authorized_keys file are available at SSH Academy: Configuring authorized_keys for OpenSSH. https://createssh.org/