Networking and protocols, topic 18 of 78
SSH
SSH is how you reach a server's shell, and how tools such as Ansible and Git reach it too. Log in with keys, never passwords: learn ssh-keygen, authorized_keys, and the agent.
A ~/.ssh/config file saves typing; -L forwards a port through the connection, and ProxyJump reaches a private server through a bastion. On a server, turn off password and root logins.
On Opsfolk
Nothing of ours for this topic yet: an article is on its way.
Elsewhere
- OpenSSH manual pagesOfficial