X-Git-Url: http://tinc-vpn.org/git/browse?a=blobdiff_plain;f=doc%2Ftincctl.8.in;h=bbc8dba6714697887d88d593085185c55392bf9f;hb=bbeab00f46a6c856573fe0d2b9b85bce35728403;hp=6b550ae8eb36752f217762cd0c6065efdeaf7cf1;hpb=e8deda0b23463599a7533e82cf038a01062956a7;p=tinc diff --git a/doc/tincctl.8.in b/doc/tincctl.8.in index 6b550ae8..bbc8dba6 100644 --- a/doc/tincctl.8.in +++ b/doc/tincctl.8.in @@ -10,7 +10,7 @@ .Op Fl cn .Op Fl -config Ns = Ns Ar DIR .Op Fl -net Ns = Ns Ar NETNAME -.Op Fl -controlcookie Ns = Ns Ar FILENAME +.Op Fl -pidfile Ns = Ns Ar FILENAME .Op Fl -help .Op Fl -version .Ar COMMAND @@ -26,12 +26,12 @@ to alter and inspect the running VPN's state. .It Fl n, -net Ns = Ns Ar NETNAME Communicate with tincd(8) connected with .Ar NETNAME . -.It Fl -controlcookie Ns = Ns Ar FILENAME +.It Fl -pidfile Ns = Ns Ar FILENAME Use the cookie from .Ar FILENAME to authenticate with a running tinc daemon. If unspecified, the default is -.Pa @localstatedir@/run/tinc. Ns Ar NETNAME Ns Pa .cookie. +.Pa @localstatedir@/run/tinc. Ns Ar NETNAME Ns Pa .pid. .It Fl -help Display short list of options. .It Fl -version @@ -59,10 +59,14 @@ will be made. Shows the PID of the currently running .Xr tincd 8 . .It generate-keys Op bits +Generate both RSA and ECDSA keypairs (see below) and exit. +.It generate-ecdsa-keys +Generate public/private ECDSA keypair and exit. +.It generate-rsa-keys Op bits Generate public/private RSA keypair and exit. If .Ar bits -is omitted, the default length will be 1024 bits. +is omitted, the default length will be 2048 bits. When saving keys to existing files, tinc will not delete the old keys; you have to remove them manually. .It dump nodes @@ -159,7 +163,7 @@ Show amount of traffic in kilobytes. Show amount of traffic in megabytes. .It Ic G Show amount of traffic in gigabytes. -.It Ic q , ESC +.It Ic q Quit. .El .Sh BUGS