TeamCity
 
You are viewing the documentation for an earlier version of TeamCity.

SSH Exec

Last modified: 20 April 2023

SSH Exec enables TeamCity to execute arbitrary remote commands using SSH.

The settings common for all runners are described on a separate page; this page details the SSH Exec runner settings. The fields below support parameter references: any text between percentage signs (%) is considered a reference to a property by TeamCity. To prevent TeamCity from treating the text in the percentage signs as reference to a property, use two percentage signs to escape them: e.g. if you want to pass "%\Y%m%\d%H%\M%S" into the build, change it to "%\%Y%\%m%\%d%\%H%\%M%\%S"