Execution of pallet actions via ssh
Execution of pallet actions via ssh
(authentication session)
Return the user to use for authentication. This is not necessarily the admin user (e.g. when bootstrapping, it is the image user).
Return the user to use for authentication. This is not necessarily the admin user (e.g. when bootstrapping, it is the image user).
(on-retry)
A function that can be overriden to do something before a retry. Useful when switching between VPN/Non-VPN
A function that can be overriden to do something before a retry. Useful when switching between VPN/Non-VPN
(ssh-from-local session value)
Transfer a file from the origin machine to the target via ssh.
Transfer a file from the origin machine to the target via ssh.
(ssh-script-on-target session
{:keys [context node-value-path] :as action}
action-type
[options script])
Execute a bash action on the target via ssh.
Execute a bash action on the target via ssh.
(ssh-to-local session value)
Transfer a file from the target machine to the origin via ssh.
Transfer a file from the target machine to the origin via ssh.
(with-connection session [connection & [no-cache]] & body)
Execute the body with a connection to the current target node,
Execute the body with a connection to the current target node,
(with-connection* session f)
Execute a function with a connection to the current target node,
Execute a function with a connection to the current target node,
(with-ssh-forward session tunnels & body)
Execute the body with an ssh-tunnel available for the ports given in the tunnels map. Automatically closes port forwards on completion.
Tunnels should be a map from local ports (integers) to either
e.g. (with-ssh-tunnel session {2222 22} ;; do something on local port 2222 session)
Execute the body with an ssh-tunnel available for the ports given in the tunnels map. Automatically closes port forwards on completion. Tunnels should be a map from local ports (integers) to either 1) An integer remote port. Remote host is assumed to be "localhost". 2) A vector of remote host and remote port. eg, ["yahoo.com" 80]. e.g. (with-ssh-tunnel session {2222 22} ;; do something on local port 2222 session)
(with-ssh-tunnel transport session tunnels & body)
Execute the body with an ssh-tunnel available for the ports given in the tunnels map. Automatically closes port forwards on completion.
Tunnels should be a map from local ports (integers) to either
e.g. (with-ssh-tunnel session {2222 22} ;; do something on local port 2222 session)
Execute the body with an ssh-tunnel available for the ports given in the tunnels map. Automatically closes port forwards on completion. Tunnels should be a map from local ports (integers) to either 1) An integer remote port. Remote host is assumed to be "localhost". 2) A vector of remote host and remote port. eg, ["yahoo.com" 80]. e.g. (with-ssh-tunnel session {2222 22} ;; do something on local port 2222 session)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close