ssh - Cloud Foundry CLI Reference Guide


NAME

ssh - SSH to an application container instance

USAGE

cf ssh APP_NAME [--process PROCESS] [-i INDEX] [-c COMMAND]... [-L [BIND_ADDRESS:]LOCAL_PORT:REMOTE_HOST:REMOTE_PORT]... [--skip-remote-execution] [--disable-pseudo-tty | --force-pseudo-tty | --request-pseudo-tty] [--skip-host-validation]

OPTIONS

--app-instance-index, -i

App process instance index (Default: 0)

--command, -c

Command to run

--disable-pseudo-tty, -T

Disable pseudo-tty allocation

--force-pseudo-tty

Force pseudo-tty allocation

-L

Local port forward specification

--process

App process name (Default: web)

--request-pseudo-tty, -t

Request pseudo-tty allocation

--skip-host-validation, -k

Skip host key validation. Not recommended!

--skip-remote-execution, -N

Do not execute a remote command

ENVIRONMENT

all_proxy= Specify a proxy server to enable proxying for all requests

SEE ALSO

allow-space-ssh, enable-ssh, space-ssh-allowed, ssh-code, ssh-enabled