Best practice for SSH authentication

Posted by jetlagged-bee@reddit | sysadmin | View on Reddit | 14 comments

Hi all,

I'm a solo IT manager who will soon be getting a new member of the team as a sysadmin.

Currently, I SSH into our AWS EC2 web servers using my key. I also use Putty to SSH tunnel into PHPMyAdmin on each EC2 instance.

I want to change this approach for when the new starter joins so there is an audit trail, individual accountability, and revocation.

What is the recommended approach for managing SSH access? These are the options I'm aware of, in the order of preference:

We already use Cloudflare Zero Trust + One client, so the first option should be feasible. Are there any drawbacks to this method, or better options?