(Quick Reference)

3 Configuration - Reference Documentation

Authors: Michael Rice

Version: 0.2

3 Configuration

Configuration

This table lists all the properties that can be set either by the builder or by the @code grails-app/conf/Config.groovy

PropertyDescription
usernameUsername to log on with String format.
passwordPassword used in a password auth login attempt in String format.
keyFileFull path to the key file for private key auth. String format.
keyFilePasswordString representation of the password used for the private key file.
strictHostKeyCheckingString of either "yes" or "no". This can also be set in the ssh_config but the setting here will over ride as it is loaded last.
portThe port the remote ssh server runs on in int form. 22 is the default which should be correct in most cases.
knownHostsFileFull path to the knownHostsFile. It is highly recommended to use this and not ignore security. String format.
sshConfigFileFull path to an openBSD ssh_config file for the client to use those options during connection. String format.
connectionTimeoutint for timeout. See jsch for more details
preserveTimeStampsbool Should you try to preserve the time stamps on the file. (Experimental)
defaultFilePermissionString Unix file permission. Must be 4 digits. 0644 is default

The following properties can not be set in the Config.groovy and must be setup where applicable by the user.

PropertyDescriptionAvailable In
commandString of the command you want to run on the remote system.RunSshCommand
localFileString of the full path to the file on the local serverScpFileTo, ScpFileFrom
remoteFileString of the full path to the file on the remote serverScpFileTo, ScpFileFrom