ssh - Cloud Foundry CLI Reference Guide


NAME

ssh - SSH to an application container instance

USAGE

cf ssh APP_NAME [-i app-instance-index] [-c command] [-L [bind_address:]port:host:hostport] [--skip-host-validation] [--skip-remote-execution] [--request-pseudo-tty] [--force-pseudo-tty] [--disable-pseudo-tty]

OPTIONS

--app-instance-index, -i

Application instance index

--command, -c

Command to run. This flag can be defined more than once.

--disable-pseudo-tty, -T

Disable pseudo-tty allocation

--force-pseudo-tty

Force pseudo-tty allocation

-L

Local port forward specification. This flag can be defined more than once.

--request-pseudo-tty, -t

Request pseudo-tty allocation

--skip-host-validation, -k

Skip host key validation

--skip-remote-execution, -N

Do not execute a remote command

SEE ALSO

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