Skip to content

Add sshdo to the SSH section - #644

Open
rafork wants to merge 1 commit into
kahun:masterfrom
rafork:sshdo
Open

Add sshdo to the SSH section#644
rafork wants to merge 1 commit into
kahun:masterfrom
rafork:sshdo

Conversation

@rafork

@rafork rafork commented May 21, 2026

Copy link
Copy Markdown

Sshdo mitigates the risk of a compromised ssh secure key that needs to be unencrypted for use by automated (or scripted) commands.

It acts as a ForcedCommand, and makes it possible to restrict the commands that an incoming ssh connection may execute to any fixed set of commands (rather than a single command per keypair).

It has a learning mode to learn what commands a system needs. Once out of learning mode, only the learned (and approved) commands are allowed. Commands that are no longer in use can be automatically unlearned as well.

It's very simple to use, and doesn't require the system administrator to know regular expressions (which would be too dangerous anyway). Only very simple patterns are supported so as to handle numbers or dates changing.

https://raf.org/sshdo
https://github.com/raforg/sshdo
https://codeberg.org/raforg/sshdo

Sshdo mitigates the risk of a compromised ssh secure key that needs to be
unencrypted for use by automated (or scripted) commands.

It acts as a ForcedCommand, and makes it possible to restrict the commands
that an incoming ssh connection may execute to any fixed set of commands
(rather than a single command per keypair).

It has a learning mode to learn what commands a system needs. Once out of
learning mode, only the learned (and approved) commands are allowed.
Commands that are no longer in use can be automatically unlearned as well.

It's very simple to use, and doesn't require the system administrator to
know regular expressions (which would be too dangerous anyway). Only very
simple patterns are supported so as to handle numbers or dates changing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants