OCCTL(8) | System Manager's Manual | OCCTL(8) |
occtl - OpenConnect VPN server control tool
occtl [´COMMAND´]
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.
This tool uses unix domain sockets to connect to ocserv.
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
Written by Nikos Mavrogiannopoulos. Many people have contributed to it.
Issue tracker: https://gitlab.com/openconnect/ocserv/-/issues
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.
ocserv(8), ocpasswd(8)
January 2024 |