passwordless-ssh.core
connection-options
(connection-options machine)
Builds normalized SSH connection options for a machine map.
Supported auth types are:
- "password" with :auth-secret as the password
- "private-key" with :auth-secret as a readable private key path
exec-machine
(exec-machine machine cmd)
Executes a shell command locally for localhost targets, otherwise over SSH.
exec-remote-command
(exec-remote-command machine cmd)
Executes a shell command on a remote machine over SSH.
localhost-machine?
(localhost-machine? machine)
Returns true when the machine should be treated as the local host.
setup-passwordless-group-via-ssh!
(setup-passwordless-group-via-ssh! machines)
Bootstraps passwordless SSH for one already-compatible group of machines.
setup-passwordless-mesh!
(setup-passwordless-mesh! machines)
Groups machines by compatible SSH authentication details and bootstraps
passwordless SSH within each eligible group.