/[sysadmin-cookbook]/recepies/openvpn/1.generate-static-key.sh
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /recepies/openvpn/1.generate-static-key.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 208 - (show annotations)
Tue May 11 18:42:12 2010 UTC (13 years, 11 months ago) by dpavlin
File MIME type: application/x-sh
File size: 107 byte(s)
generate static key on server

1 #!/bin/sh -x
2 KEY=/etc/openvpn/`hostname`.key
3 test -f $KEY && ls -al $KEY || openvpn --genkey --secret $KEY

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26