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)
-
Optional username, defaults to "root"
-
Optional password, defaults to empty
-
Optional alternative key file to use
-
Optional alternative host keys file to use