Public Access
bd5f676e0a
Platform: moko-platform CI / Gate 2: Unit Tests (8.1) (push) Has been cancelled
Platform: moko-platform CI / Gate 2: Unit Tests (8.2) (push) Has been cancelled
Platform: moko-platform CI / Gate 2: Unit Tests (8.3) (push) Has been cancelled
Platform: moko-platform CI / Gate 3: Self-Health Check (push) Has been cancelled
Platform: moko-platform CI / Gate 4: Governance (push) Has been cancelled
Platform: moko-platform CI / Gate 5: Template Integrity (push) Has been cancelled
Platform: moko-platform CI / CI Summary (push) Has been cancelled
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled
Generic: Repo Health / Report Issues (push) Has been cancelled
Generic: Repo Health / Site Health (push) Has been cancelled
Generic: Repo Health / Access control (push) Has been cancelled
Platform: moko-platform CI / Gate 1: Code Quality (push) Has been cancelled
# Conflicts: # cli/manifest_licensing.php
72 lines
2.3 KiB
TOML
72 lines
2.3 KiB
TOML
# OpenAI Codex SSH Configuration Example
|
|
# Place this file at: ~/.codex/ssh-config.toml
|
|
#
|
|
# This file contains SSH server configurations for MCP SSH Manager
|
|
# when used with OpenAI Codex.
|
|
#
|
|
# For Claude Code users: Use .env format instead (see .env.example)
|
|
|
|
# Production Server Example (using SSH key - RECOMMENDED)
|
|
[ssh_servers.production]
|
|
host = "prod.example.com"
|
|
user = "admin"
|
|
key_path = "~/.ssh/id_rsa" # Path to SSH private key
|
|
port = 22 # Optional, defaults to 22
|
|
default_dir = "/var/www/html" # Optional, default working directory
|
|
description = "Production web server" # Optional description
|
|
sudo_password = "sudo_pass" # Optional, for automated deployments
|
|
|
|
# Staging Server Example (using password authentication)
|
|
[ssh_servers.staging]
|
|
host = "staging.example.com"
|
|
user = "deploy"
|
|
password = "secure_password" # Use SSH keys instead when possible
|
|
port = 2222 # Custom SSH port
|
|
default_dir = "/home/deploy/app"
|
|
description = "Staging environment"
|
|
|
|
# Database Server Example
|
|
[ssh_servers.db_server]
|
|
host = "192.168.1.100"
|
|
user = "dbadmin"
|
|
key_path = "~/.ssh/db_key"
|
|
port = 22
|
|
default_dir = "/var/lib/mysql"
|
|
description = "MySQL database server"
|
|
|
|
# Development Server Example (minimal configuration)
|
|
[ssh_servers.dev]
|
|
host = "dev.example.com"
|
|
user = "developer"
|
|
key_path = "~/.ssh/dev_key"
|
|
|
|
# Docker Host Example
|
|
[ssh_servers.docker_host]
|
|
host = "docker.example.com"
|
|
user = "docker"
|
|
key_path = "~/.ssh/docker_key"
|
|
default_dir = "/opt/docker"
|
|
description = "Docker container host"
|
|
|
|
# Multiple Environment Examples
|
|
[ssh_servers.app_prod]
|
|
host = "app-prod.example.com"
|
|
user = "ubuntu"
|
|
key_path = "~/.ssh/aws_prod_key"
|
|
default_dir = "/var/www/myapp"
|
|
description = "App production server"
|
|
|
|
[ssh_servers.app_staging]
|
|
host = "app-staging.example.com"
|
|
user = "ubuntu"
|
|
key_path = "~/.ssh/aws_staging_key"
|
|
default_dir = "/var/www/myapp"
|
|
description = "App staging server"
|
|
|
|
# Notes:
|
|
# 1. key_path is RECOMMENDED over password for better security
|
|
# 2. Paths starting with ~ will be expanded to your home directory
|
|
# 3. default_dir is optional but recommended for convenience
|
|
# 4. sudo_password should only be used for trusted automation scenarios
|
|
# 5. All server names are case-insensitive and normalized to lowercase
|