Files

873 lines
22 KiB
JSON

{
"_format": "scaffold_schema",
"_coverage": "partial: [--help, --version, -Q, -G skipped (meta/query flags); many ssh_config options accessible via -o omitted since they're config-file options, not direct flags]",
"tool": "ssh",
"binary": "ssh",
"description": "OpenSSH secure shell client. Connects to a remote host for login or command execution over an encrypted channel.",
"elevated": null,
"subcommands": null,
"arguments": [
{
"name": "Port",
"flag": "-p",
"short_flag": null,
"type": "integer",
"description": "Port to connect to on the remote host.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Connection",
"min": 1,
"max": 65535,
"deprecated": null,
"dangerous": false
},
{
"name": "Identity File",
"flag": "-i",
"short_flag": null,
"type": "file",
"description": "File from which the identity (private key) for public key authentication is read.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": true,
"separator": "space",
"positional": false,
"validation": null,
"examples": [
"~/.ssh/id_rsa",
"~/.ssh/id_ed25519",
"~/.ssh/mykey.pem"
],
"display_group": "Authentication",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Login Name",
"flag": "-l",
"short_flag": null,
"type": "string",
"description": "Specifies the user to log in as on the remote machine.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Connection",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Config File",
"flag": "-F",
"short_flag": null,
"type": "file",
"description": "Specifies an alternative per-user configuration file.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": [
"~/.ssh/config"
],
"display_group": "Connection",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Bind Address",
"flag": "-b",
"short_flag": null,
"type": "string",
"description": "Bind address for the connection. Use on machines with multiple interfaces.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Connection",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "IPv4 Only",
"flag": "-4",
"short_flag": null,
"type": "boolean",
"description": "Forces ssh to use IPv4 addresses only.",
"required": false,
"default": null,
"choices": null,
"group": "ip_version",
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Connection",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "IPv6 Only",
"flag": "-6",
"short_flag": null,
"type": "boolean",
"description": "Forces ssh to use IPv6 addresses only.",
"required": false,
"default": null,
"choices": null,
"group": "ip_version",
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Connection",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Jump Host",
"flag": "-J",
"short_flag": null,
"type": "string",
"description": "Connect to the target host via the specified jump host (ProxyJump). Comma-separated for multiple hops.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": [
"jump@bastion.example.com",
"user@hop1,user@hop2"
],
"display_group": "Connection",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Local Forward",
"flag": "-L",
"short_flag": null,
"type": "string",
"description": "Forward local port to remote host:port. Format: [bind_address:]port:host:hostport",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": true,
"separator": "space",
"positional": false,
"validation": null,
"examples": [
"8080:localhost:80",
"3306:db.internal:3306",
"127.0.0.1:5432:postgres.internal:5432"
],
"display_group": "Forwarding",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Remote Forward",
"flag": "-R",
"short_flag": null,
"type": "string",
"description": "Forward remote port to local host:port. Format: [bind_address:]port:host:hostport",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": true,
"separator": "space",
"positional": false,
"validation": null,
"examples": [
"8080:localhost:80",
"0:localhost:22"
],
"display_group": "Forwarding",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Dynamic Forward",
"flag": "-D",
"short_flag": null,
"type": "string",
"description": "Specifies a local dynamic application-level port forwarding (SOCKS proxy). Format: [bind_address:]port",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": [
"1080",
"127.0.0.1:1080"
],
"display_group": "Forwarding",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Forward Agent",
"flag": "-A",
"short_flag": null,
"type": "boolean",
"description": "Enable forwarding of the authentication agent connection.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Forwarding",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "No Forward Agent",
"flag": "-a",
"short_flag": null,
"type": "boolean",
"description": "Disable forwarding of the authentication agent connection.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Forwarding",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Forward X11",
"flag": "-X",
"short_flag": null,
"type": "boolean",
"description": "Enable X11 forwarding.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Forwarding",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Trusted X11 Forward",
"flag": "-Y",
"short_flag": null,
"type": "boolean",
"description": "Enable trusted X11 forwarding (not subjected to X11 SECURITY extension controls).",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Forwarding",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "No X11 Forward",
"flag": "-x",
"short_flag": null,
"type": "boolean",
"description": "Disable X11 forwarding.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Forwarding",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Gateway Ports",
"flag": "-g",
"short_flag": null,
"type": "boolean",
"description": "Allow remote hosts to connect to local forwarded ports.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Forwarding",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Force TTY",
"flag": "-t",
"short_flag": null,
"type": "boolean",
"description": "Force pseudo-terminal allocation. Can be repeated to force even when ssh has no local tty.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": true,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Session",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "No TTY",
"flag": "-T",
"short_flag": null,
"type": "boolean",
"description": "Disable pseudo-terminal allocation.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Session",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "No Remote Command",
"flag": "-N",
"short_flag": null,
"type": "boolean",
"description": "Do not execute a remote command. Useful for just forwarding ports.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Session",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Background",
"flag": "-f",
"short_flag": null,
"type": "boolean",
"description": "Go to background just before command execution. Implies -n.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Session",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "No Stdin",
"flag": "-n",
"short_flag": null,
"type": "boolean",
"description": "Redirect stdin from /dev/null. Used when ssh is run in the background.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Session",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Subsystem",
"flag": "-s",
"short_flag": null,
"type": "boolean",
"description": "Request invocation of a subsystem (e.g. sftp) on the remote system.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Session",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Verbose",
"flag": "-v",
"short_flag": null,
"type": "boolean",
"description": "Verbose mode. Multiple -v increase verbosity (max 3).",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": true,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Verbosity",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Quiet",
"flag": "-q",
"short_flag": null,
"type": "boolean",
"description": "Quiet mode. Suppresses all warning and diagnostic messages.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Verbosity",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Compression",
"flag": "-C",
"short_flag": null,
"type": "boolean",
"description": "Request compression of all data.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Behavior",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Cipher",
"flag": "-c",
"short_flag": null,
"type": "string",
"description": "Cipher specification. Comma-separated list in order of preference.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": [
"aes256-gcm@openssh.com",
"chacha20-poly1305@openssh.com,aes256-gcm@openssh.com"
],
"display_group": "Behavior",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "MAC",
"flag": "-m",
"short_flag": null,
"type": "string",
"description": "MAC algorithms, comma-separated in order of preference.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": [
"hmac-sha2-256,hmac-sha2-512"
],
"display_group": "Behavior",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Escape Char",
"flag": "-e",
"short_flag": null,
"type": "string",
"description": "Sets the escape character. Default is '~'. Use 'none' to disable.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Behavior",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "SSH Option",
"flag": "-o",
"short_flag": null,
"type": "string",
"description": "Set ssh_config option in KEY=VALUE format. Can be repeated.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": true,
"separator": "space",
"positional": false,
"validation": null,
"examples": [
"StrictHostKeyChecking=no",
"ServerAliveInterval=60",
"UserKnownHostsFile=/dev/null",
"ConnectTimeout=10"
],
"display_group": "Behavior",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Control Path",
"flag": "-S",
"short_flag": null,
"type": "string",
"description": "Specifies location of a control socket for connection sharing.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": [
"/tmp/ssh-%r@%h:%p"
],
"display_group": "Behavior",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Control Master",
"flag": "-M",
"short_flag": null,
"type": "boolean",
"description": "Places ssh into master mode for connection sharing.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Behavior",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Control Command",
"flag": "-O",
"short_flag": null,
"type": "string",
"description": "Control an active connection multiplexing master process.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": [
"check",
"forward",
"cancel",
"exit",
"stop"
],
"display_group": "Behavior",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Tunnel",
"flag": "-w",
"short_flag": null,
"type": "string",
"description": "Request tunnel device forwarding. Format: local_tun[:remote_tun].",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": false,
"validation": null,
"examples": [
"0:0",
"any:any"
],
"display_group": "Forwarding",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Log To Syslog",
"flag": "-y",
"short_flag": null,
"type": "boolean",
"description": "Send log information using syslog instead of stderr.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "none",
"positional": false,
"validation": null,
"examples": null,
"display_group": "Verbosity",
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Destination",
"flag": "DESTINATION",
"short_flag": null,
"type": "string",
"description": "Remote host to connect to. Format: [user@]hostname",
"required": true,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": true,
"validation": null,
"examples": [
"user@hostname",
"root@192.168.1.1",
"deploy@web.example.com"
],
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
},
{
"name": "Command",
"flag": "COMMAND",
"short_flag": null,
"type": "string",
"description": "Command to execute on the remote host. If omitted, an interactive shell is opened.",
"required": false,
"default": null,
"choices": null,
"group": null,
"depends_on": null,
"repeatable": false,
"separator": "space",
"positional": true,
"validation": null,
"examples": [
"ls -la",
"uptime",
"cat /etc/hostname"
],
"display_group": null,
"min": null,
"max": null,
"deprecated": null,
"dangerous": false
}
]
}