occtl 1.1.5

occtl(8) -- OpenConnect VPN server control tool

SYNOPSIS

occtl ['COMMAND']

DESCRIPTION

This a control tool that can be used to send commands to ocserv. When called without any arguments the tool can be used interactively, where each command is entered on a command prompt; alternatively the tool can be called with the command specified as parameter. In the latter case the tool's exit code will reflect the successful execution of the command.

OPTIONS

IMPLEMENTATION NOTES

This tool uses unix domain sockets to connect to ocserv.

EXAMPLES

The tool can be run interactively when run with no arguments. When arguments are given they are interpreted as commands. For example:

$ occtl show users

Any command line arguments to be used as options must precede the command (if any), as shown below.

$ occtl --json show users

Exit status

SEE ALSO

ocserv(8), ocpasswd(8)

Copyright (C) 2013-2017 Nikos Mavrogiannopoulos and others, all rights reserved. This program is released under the terms of the GNU General Public License, version 2.

AUTHORS

Written by Nikos Mavrogiannopoulos. Many people have contributed to it.