ssh
星标2
分支0
更新时间2026年7月15日 01:54
Manage SSH access to the OCI instance — open, connect, or close
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
SKILL.md
readonly菜单
Manage SSH access to the OCI instance — open, connect, or close
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Scaffold a new OCI Terraform module following project conventions
Open or close a TCP/UDP port on the instance — updates security list and iptables
Deploy or update OCI infrastructure — runs plan and apply
Interactive setup wizard — walks through OCI configuration with guided questions
Show current state of OCI infrastructure — IPs, resources, drift
| name | ssh |
| description | Manage SSH access to the OCI instance — open, connect, or close |
| disable-model-invocation | true |
| allowed-tools | Bash, Read |
| argument-hint | [allow|revoke|connect] |
Manage SSH access to the OCI compute instance. SSH is blocked by default and must be opened from a specific IP.
Arguments:
allow (default): Open SSH from the user's current public IP and apply the security list changerevoke: Close SSH access (remove the IP from the security list) and applyconnect: SSH into the instancetunnel: Open MySQL SSH tunnel (localhost:3306)curl -4 -s --max-time 5 https://ifconfig.meterraform -chdir=terraform/environments/oci-prod apply -var="ssh_source_cidr=<IP>/32" -target=module.network.oci_core_security_list.mainterraform -chdir=terraform/environments/oci-prod apply -var="ssh_source_cidr=" -target=module.network.oci_core_security_list.mainterraform -chdir=terraform/environments/oci-prod output -raw instance_ipssh ubuntu@<IP>ssh -N -L 3306:<mysql_ip>:3306 ubuntu@<instance_ip>mysql -h 127.0.0.1 -P 3306 -u admin -p