Agentuity云平台安全文件上传工具Skill agentuity-cli-cloud-scp-upload

Agentuity云平台SCP文件上传技能,提供安全加密的文件传输功能,支持单文件和多文件上传到云端部署环境。关键词:Agentuity云平台、SCP安全复制、文件上传、云端部署、CLI命令行工具、DevOps自动化、云服务器文件管理

CI/CD 0 次安装 0 次浏览 更新于 2/28/2026

name: agentuity-cli-cloud-scp-upload description: 使用安全复制上传文件。需要身份验证。用于Agentuity云平台操作 version: “0.0.103” license: Apache-2.0 allowed-tools: “Bash(agentuity:*)” argument-hint: “<源文件> [目标路径]” metadata: command: “agentuity cloud scp upload” tags: “mutating updates-resource slow requires-auth requires-deployment”

云安全复制上传

使用安全复制协议上传文件

前提条件

  • 已通过 agentuity auth login 完成身份验证
  • 已部署云环境

使用方法

agentuity cloud scp upload <源文件> [目标路径] [选项]

参数

参数 类型 必填 描述
<源文件> 字符串 本地源文件路径
<目标路径> 字符串 远程目标路径

选项

选项 类型 必填 默认值 描述
--identifier 字符串 - 要使用的项目或部署ID

示例

上传到远程主目录:

bunx @agentuity/cli cloud scp upload ./config.json

上传到指定路径:

bunx @agentuity/cli cloud scp upload ./config.json /app/config.json

上传到特定项目:

bunx @agentuity/cli cloud scp upload ./config.json --identifier=proj_abc123xyz

上传多个文件:

bunx @agentuity/cli cloud scp upload ./logs/*.log ~/logs/

输出

返回JSON对象:

{
  "success": "boolean",
  "source": "string",
  "destination": "string",
  "identifier": "string"
}
字段 类型 描述
success 布尔值 上传是否成功
source 字符串 本地源路径
destination 字符串 远程目标路径
identifier 字符串 项目或部署标识符