close-session
Close an open SSH session by name, terminating its command or shell and releasing resources. Provides feedback if the process cannot be stopped.
Instructions
Close a named session. A background session's command is signalled on the host (INT, then TERM, then KILL) before its channel is dropped; an interactive session's shell is ended. The response says so if the command could not be signalled or had not stopped in time.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Session name to close | |
| profile | No | Profile name |