Skip to main content

ssh-ops

Use for SSH and remote shell tasks through the shell-only ssh-ops wrappers (`scripts/ssh_ops.sh`). Supports ad-hoc host/user/auth, command execution, guarded PTY workflows, scp copy, credentials, and transcript-aware troubleshooting.

소스 정보

저장소
OilProducts/agent-skills
최근 소스 활동
2026년 2월 11일 04:00
감지된 SKILL.md 언어
영어
스타
0
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
5 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
ssh-ops
description
Use for SSH and remote shell tasks through the shell-only ssh-ops wrappers (`scripts/ssh_ops.sh`). Supports ad-hoc host/user/auth, command execution, guarded PTY workflows, scp copy, credentials, and transcript-aware troubleshooting.
# SSH Ops Use shell wrappers only. ## Preflight 1. Confirm wrapper exists: `/Users/chris/projects/ssh-ops/scripts/ssh_ops.sh`. 2. Confirm system SSH exists: `/usr/bin/ssh`. 3. Decide state-dir strategy: - default: wrapper auto-uses `/tmp/ssh-ops-$USER/<cwd-hash>` - explicit: pass `--state-dir /tmp/ssh-ops-<name>` (recommended for long sessions and scripts) ## Policy - Use `scripts/ssh_ops.sh` commands only. - Keep the same state dir across session-open/exec/pty/scp/session-close for continuity. - Default to non-PTY command execution. - PTY only when needed, with strict guardrails and override flag. - Report exit codes, stderr summary, and transcript offsets. ## Core Workflow 1. Open or reuse session: `session-open` / `session-list`. 2. Execute remote work with `exec` (default) or guarded `pty-*`. 3. Use `scp-copy` when file transfer is needed. 4. Close session with `session-close`. See `references/workflows.md` and `references/policies.md`. ## Credentials 1. Save credential: `credential-save`. 2. List credentials: `credential-list`. 3. Delete credentials: `credential-delete`. ## Error Handling Use `references/errors.md`.
GitHub에서 보기