Tool to manage ssh connections for a server
composer global require innmind/warden
warden wakeup
This will modify the ssh configuration to only allow connections via ssh key.
warden grant [user]
This will add the ssh keys the user added on his github account to .ssh/authorized_keys
warden lock
This will stop the ssh service, to be used carefully as you won't be able to connect to your server afterward.