Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 693 Bytes

control-ssh.adoc

File metadata and controls

22 lines (18 loc) · 693 Bytes

SSH control

Connects to the target machine via SSH.

This control requires the ssh:// scheme, followed by a hostname and an optional port number. There is no mandatory key. Optional username, password, keyfile and system_host_keys keys can be used.

Here’s a portion of a target section using the SSH control:

control = "ssh://localhost"
username = bob ; (1)
password = Secr3t ; (2)
keyfile = /home/bob/.ssh/id_rsa ; (3)
system_host_keys = /dev/null ; Don't use system host keys (4)
  1. Optional username, defaults to "root"

  2. Optional password, defaults to empty

  3. Optional alternative key file to use

  4. Optional alternative host keys file to use