Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


The OpenVPN Tutorial on LowEndBox
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

The OpenVPN Tutorial on LowEndBox

Following this tutorial, http://lowendbox.com/blog/getting-started-with-openvpn-server/,
I am unable to proceed after entering this particular command.

sudo tar xvzf easy-rsa.tar.gz -C /etc/openvpn/easy-rsa –strip-components=3 easy-rsa-2.2.0/easy-rsa/2.0/

The error message I get is:

tar: /etc/openvpn/easy-strip-components=3: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now

Comments

  • mkdir /etc/openvpn /etc/openvpn/easy-strip-components=3

  • skaska Member
    edited September 2013

    Because the option of tar is called --strip-components. Mind the two dashes. See the manual of tar.

  • Adding an extra dash seem to work. Thank you!

    sudo cp server.crt server.key ca.crt dh1024.pem ta.key ../../

    getting this error message:

    cp: cannot stat server.crt': No such file or directory cp: cannot statserver.key': No such file or directory

    I think the author is trying to copy a whole bunch of keys into the two previous directory.

  • I also had issues with lost dashes when copy/pasting some of the commands from that guide, character encoding I guess.

Sign In or Register to comment.