Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
PSKGEN(8)		FreeBSD	System Manager's Manual		     PSKGEN(8)

NAME
     pskgen -- Pre-shared key generater	and converter for IKE

SYNOPSIS
     pskgen -r [-s length] [-o file] [-d]
     pskgen -i file [-h] [-o file] [-d]
     pskgen -e file [-o	file] [-d]

DESCRIPTION
     pskgen creates a pre-share	key file for the iked of the Racoon2 system.
     There are three modes.  The first is that it will create a	randomized
     key.  The second is that it will create the key from the input file.
     Note that the Racoon2 only	uses the first line of the input file that is
     plain text	format except the case when the	-h option is not specified.
     pskgen ignores the	second line of the file	specified and more than	that.
     The third is that it will convert the key file to the format of the -h
     option.

   Randomized key mode
	   -r	  output random	bytes.
	   -s	  specify the byte length of the key.  the default is $de-
		  fault_keysize	bytes.
	   -o	  specify the output file.
	   -d	  debug	mode.  no harm to any file.

   File	specific mode
	   -i	  specify the input file.  `-' means the standard input.
	   -h	  assumed that the input file is writted by the	following syn-
		  tax: 0x leading one or two of	hexadecimal number separated
		  space	characters.  For example:
			0x72 0x61 0x63 0x6f 0x6f 0x6e
	   -o	  specify the output file.
	   -d	  debug	mode.  no harm to any file.

   Export Mode
	   -e	  export the key file.	the format is like the option -h de-
		  fined.
	   -o	  specify the output file.
	   -d	  debug	mode.  no harm to any file.

SEE ALSO
     racoon2(7), racoon2.conf(5), iked(8)

RACOON2				 Jul 14, 2005			       RACOON2

NAME | SYNOPSIS | DESCRIPTION | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=pskgen&sektion=8&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help