/[sysadmin-cookbook]/recepies/openvpn/1.on-server.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.on-server.generate-static-key.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 210 - (show annotations)
Thu May 13 13:49:13 2010 UTC (13 years, 11 months ago) by dpavlin
File MIME type: application/x-sh
File size: 138 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
4 echo "transfer $KEY to client"

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26