Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Look at autossh.host for an example wrapper script.

Usage
-----
autossh [-M <port>[:echo_port]] [-f] [SSH OPTIONS]
autossh [-V] [-f] -M <monitor_port[:echo_port]> [SSH OPTIONS]

Description
-----------
Expand All @@ -40,9 +40,9 @@ situations where using an echo service may not be possible.

autossh has only three arguments of its own:

-M <port>[:echo_port], to specify the base monitoring port to use, or
alternatively, to specify the monitoring port and echo service
port to use.
-M &lt;monitor_port[:echo_port]&gt;, to specify the base monitoring port
to use, or alternatively, to specify the monitoring port and echo
service port to use.

When no echo service port is specified, this port and the port
immediately above it (port# + 1) should be something nothing
Expand Down
2 changes: 1 addition & 1 deletion autossh.c
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ void
usage(int code)
{
fprintf(code ? stderr : stdout,
"usage: %s [-V] [-M monitor_port[:echo_port]] [-f] [SSH_OPTIONS]\n",
"usage: %s [-V] [-f] -M <monitor_port[:echo_port]> [SSH_OPTIONS]\n",
__progname);
if (code) {
fprintf(stderr, "\n");
Expand Down