sassy_setup_ssh
Set up SSH credentials for the current session by checking the SSH client, saving host/user with key/session/password, and testing connectivity.
Instructions
Mutating: saves SSH credentials to the process environment and config, and can open a real test connection. The action parameter (default "check") accepts check, save, test, skip. action=check is read-only: reports whether plink (Windows) or native ssh (macOS/Linux) was found, plus which of SSH_HOST, SSH_USER, SSH_PASS, SSH_KEY, SSH_SESSION are set. action=save requires host and user plus at least one auth source: key (a .ppk path, preferred), session (a saved PuTTY session name), or password (fed via stdin, never in the process list); missing pieces return status=incomplete. action=test runs the actual ssh command with a 15 second timeout and reports connected, failed, or error. Credentials last only for this session unless also set in system env or MCP client config.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | ||
| host | No | ||
| user | No | ||
| action | No | check | |
| session | No | ||
| password | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||