From 0d60b70adaa07e7ddc73f65a1277d339d5b12089 Mon Sep 17 00:00:00 2001
From: Erik Brakkee
- The agent has more options, download the agent and run it without arguments to + The agent has more command-line options than shown here. + Download the agent and run it without arguments to see all options.
@@ -94,12 +95,61 @@ templ Usage(secure string, host string, username string) { `}sftp -oServerAliveInterval=10 -oPort=10000 { username }{"@localhost"} {` `} +
+ The agent supports a --shells command-line option by which a comma-separated
+ list of shells can be prepended to the default search path for shells, e.g.
+ --shells zsh,csh,sh (linux) or cmd,powershell for
+ windows.
+
+ The agent sets a
{`
+ # cd back to the agent directory
+ cd $agentdir
+
+ # extend session lifetime
+ touch $agentdir/.hold
+ `}
+
+ ++ +
{`
+ # cd back to the agent directory
+ cd %agentdir%
+
+ # extend session lifetime
+ echo > %agentdir%\.hold
+ `}
+
+ {`
+ # cd back to the agent directory
+ cd $env:agentdir
+
+ # extend session lifetime
+ $null > $env:agentdir\.hold
+ `}
+
- The { username } user above the Converge server and
- communicated to the agent when the agent is started. This is the
- username that must be used when setting up an ssh connection.
+ The { username } user above is configured in the
+ Converge server and is communicated to the agent when the agent is
+ started as well as the password.
+
Another way to authenticate is through an .authorized_keys file in the same directory as where the agent is started.