X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=doc%2Ftincctl.8.in;h=a3168ba98850c2e14b1a39751fe26e6886245ec2;hb=344d6b9ac3c795f2942e457c1ab38b1dac5f7242;hp=bcccc597cf324f5cec7fa1d50dd502427723b57e;hpb=e73052b05444679d922dbdf3d0c507873110957e;p=tinc diff --git a/doc/tincctl.8.in b/doc/tincctl.8.in index bcccc597..a3168ba9 100644 --- a/doc/tincctl.8.in +++ b/doc/tincctl.8.in @@ -37,6 +37,13 @@ Display short list of options. .It Fl -version Output version information and exit. .El +.Sh ENVIRONMENT VARIABLES +.Bl -tag -width indent +.It Ev NETNAME +If no netname is specified on the command line with the +.Fl n +option, the value of this environment variable is used. +.El .Sh COMMANDS .zZ .Bl -tag -width indent @@ -59,10 +66,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