360 Secure SkillHub
360 安全技能中心

Ssh Tool

该 Skill 提供 SSH 客户端能力,使用密码或密钥认证连接远程系统,支持在远端执行命令、转发本地与远程端口,并借助集成的 SCP 支持传输文件;实现上由 SKILL.md 说明用法,配合 scripts/ssh.py 脚本与 ssh 命令完成操作。

dinghaibin
dinghaibin
热度 31.63
最近更新 2026-05-18 11:50:15
分类:自动化依赖:代码执行 / 读写文件应用场景:DevOps / 自动化脚本 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add ssh-tool
Metadata
name
ssh-tool
description
Securely connect to remote systems via the SSH protocol. Use for remote server management, file transfer, and tunneling.

Secure Shell Client

Establish encrypted connections to remote systems for command execution, file transfer, and port forwarding.

Usage

ssh-tool [options] user@hostname [command]

Features

  • Authenticate with password or SSH keys
  • Execute remote commands
  • Forward local and remote ports
  • Transfer files with integrated SCP support

Examples

# Basic connection
ssh-tool user@example.com

# Execute remote command
ssh-tool user@example.com "ls -la"

# Port forwarding
ssh-tool -L 8080:localhost:80 user@example.com