SSH client configuration

To influence the behaviour of the SSH client on the managed server (for outgoing SSH connections), it’s possible to add custom SSH client configurations to /etc/ssh/ssh_config.

Example configuration

Set the ssh::config hash within the Custom JSON Server Level Configuration:

{
  "ssh::config": {
    "Host": "git",
    "HostName": "code.example.com",
    "User": "git"
  }
}

Hint

use man ssh_config (online version) for available configuration options