gerrit/Documentation/cmd-close-connection.txt
Hugo Arès 641fc788e3 Add command to close SSH connection
show-connections command display all the SSH connections but there was
no command to close one.

Change-Id: Ib90502892901428bd5c1a540266f359daafcbfd2
2015-01-19 09:54:55 -05:00

39 lines
715 B
Plaintext

= gerrit close-connection
== NAME
gerrit close-connection - Close the specified SSH connection
== SYNOPSIS
--
'ssh' -p <port> <host> 'gerrit close-connection' <SESSION_ID>
[--wait]
--
== DESCRIPTION
Close an SSH connection.
The connection closing is done asynchronously by default. Use `--wait` option to
wait for connection to close.
An error message will be displayed if no connection with the specified session
ID is found.
== ACCESS
Caller must be a member of the privileged 'Administrators' group.
== SCRIPTING
Intended for interactive use only.
OPTIONS
-------
`--wait`
: Wait for connection to close before exiting.
GERRIT
------
Part of link:index.html[Gerrit Code Review]
SEARCHBOX
---------