Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

mcp-ssh-manager

bởi imaxtomas

DevOps & Cloud
1.4kLượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

This skill should be used when the user asks to "run ssh command", "execute on server", "ssh session", "upload.

Mô tả

Kỹ năng này làm gì

Connects AI agents to remote servers over SSH using the mcp-ssh-manager MCP server. Supports command execution, file transfers, port tunneling, session management, and server monitoring through a consistent set of tools. Results can be persisted to a local workdir structure for comparison and audit.

Maintains stateful SSH sessions across multi-step workflows, avoiding the overhead of re-authenticating for each command.

Khi nào nên dùng

  • Deploy a Node.js app to a remote server via persistent SSH session
  • Tail nginx access logs and filter for errors in real time
  • Create a local port forward to access a remote database
  • Schedule nightly file backups on a remote host
  • Run a health check across CPU, memory, and running services

Quy trình ví dụ

ĐẦU VÀO

User asks: Deploy the latest build to the production server

AGENT
  1. 1

    Call ssh_session_list to check for an existing session on the target server

  2. 2

    Start a new session with ssh_session_start server="prod" name="deploy"

  3. 3

    Send commands via ssh_session_send to pull the latest code, install dependencies, and build

  4. 4

    Upload the compiled dist folder using ssh_upload to the remote web root

  5. 5

    Restart the application process, then close the session with ssh_session_close

ĐẦU RA

Application is updated and running on the remote server; session is cleanly closed

Yêu cầu

  • SSH access credentials configured in the mcp-ssh-manager server (host, user, key or password)

Cài đặt

clawhub install imaxtomas/mcp-ssh-manager

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết