innmind/warden

Tool to restrict ssh connections

2.2.0 2021-02-20 13:14 UTC

This package is auto-updated.

Last update: 2024-11-20 21:02:49 UTC


README

Build Status codecov Type Coverage

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.