close-session
Terminate a named SSH session by stopping its background command or ending an interactive shell, and report if termination fails.
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 |