innmind / warden
Tool to restrict ssh connections
2.2.0
2021-02-20 13:14 UTC
Requires
- php: ~7.4|~8.0
- innmind/cli-framework: ^1.2
- innmind/genome: ^3.0
- innmind/immutable: ~3.5
Requires (Dev)
- innmind/black-box: ^4.9
- innmind/coding-standard: ^1.1
- phpunit/phpunit: ~9.0
- vimeo/psalm: ~4.4
Provides
- innmind/genome-genes: 3.0
README
Tool to manage ssh connections for a server
Installation
composer global require innmind/warden
Usage
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.