Skip to main content
Command

terminus connection:info


Description

Displays connection information for Git, SFTP, MySQL, and Redis.

Example Usage

terminus connection:info --format FORMAT --fields FIELDS --field FIELD -- <site>.<env>

connection:info <site>.<env> Displays connection information for <site>'s <env> environment.


connection:info <site>.<env> --fields='git_*' Displays connection information fields related to Git for <site>'s <env> environment.


Options

OptionDescription
--ansiForce (or disable --no-ansi) ANSI output
--defineDefine a configuration item value.
--fieldSelect just one field, and force format to *string*.
--fieldsAvailable fields: SFTP Command (sftp_command), SFTP Username (sftp_username), SFTP Host (sftp_host), SFTP Port (sftp_port), SFTP URL (sftp_url), Git Command (git_command), Git Username (git_username), Git Host (git_host), Git Port (git_port), Git URL (git_url), MySQL Command (mysql_command), MySQL Username (mysql_username), MySQL Host (mysql_host), MySQL Password (mysql_password), MySQL URL (mysql_url), MySQL Port (mysql_port), MySQL Database (mysql_database), Redis Command (redis_command), Redis Port (redis_port), Redis URL (redis_url), Redis Password (redis_password)
--formatFormat the result data. Available formats: csv,json,list,null,php,print-r,string,table,tsv,var_dump,var_export,xml,yaml
--helpDisplay help for the given command. When no command is given display help for the <info>list</info> command
--no-ansiNegate the "--ansi" option
--no-interactionDo not ask any interactive question
--quietDo not output any message
--verboseIncrease the verbosity of messages: 1 for normal output (-v), 2 for more verbose output (-vv), and 3 for debug (-vvv)
--versionDisplay this application version
--yesAnswer all confirmations with "yes"
Back to all commands