claudemods

All Claude Code modsbaselane-sh/mods

ssh-guard

A Claude Code mod in baselane-sh/mods

Asks before a private key in .ssh is read, authorized_keys or the SSH config is changed, or ssh-keygen would overwrite a key. Public keys and ssh -i pass. Reads HOME with printenv.

ssh-guard reaches L2 (writes or runs) and passed claude plugin validate.

Install hint

/plugin install ssh-guard --marketplace baselane-sh/mods

From the repository's own marketplace. Confirm the plugin name in the repository's README before installing. Mods need Claude Code 2.1.287 or later.

Access

L2 Writes or runsruns processes, reads files

Validation

Passed

View the source on GitHub Back to the list

What the scan recorded

Observed events
classic hooks
Hooks
classic.PreToolUse
API calls
$.fs.stat, $.process.run, $.session.cwd
Validation
Passed
Scanned revision
452251077ed9
Marketplace passed
baselane-mods-dev

These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. What a mod can access and how the scan works.

More from baselane-sh/mods

See all 199 mods from baselane-sh/mods

Badge for your README

Reach badge for ssh-guard Validation badge for ssh-guard

Authors can show the latest scan result in their README. Each badge links to this page.

[![reach](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/baselane-sh--mods--ssh-guard-reach.svg)](https://mods.aidojo.si/mods/baselane-sh--mods--ssh-guard/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/baselane-sh--mods--ssh-guard-validates.svg)](https://mods.aidojo.si/mods/baselane-sh--mods--ssh-guard/)