sassy_setup_ssh
Guides SSH/Linux remote setup by checking plink, saving credentials, and testing connections to verify access.
Instructions
Guide SSH/Linux remote setup. Checks plink, saves creds, tests connection.
action: check | save | test | skip host: SSH hostname or IP (for save action) user: SSH username (for save action) password: SSH password (optional; fed via stdin at test time, not on the argv list) key: path to a .ppk private key (preferred over password) session: saved PuTTY session name (carries host+user+key)
Authentication priority at test time: session > key > Pageant > password-via-stdin. Pass at least ONE auth source on save, otherwise the call returns status=incomplete (no false 'saved' on empty creds).
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 |
|---|---|---|---|
| result | Yes |