diff --git a/cmd/wsproxy/wsproxy.go b/cmd/wsproxy/wsproxy.go
index c38d894..143914d 100644
--- a/cmd/wsproxy/wsproxy.go
+++ b/cmd/wsproxy/wsproxy.go
@@ -51,13 +51,14 @@ func printHelp(msg string) {
"\n" +
" ssh -oServerAliveInterval=10 -oProxyCommand='wsproxy ws[s]://
- 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.