Question

How to download .opvn file from server to local computer's desktop.

I am trying to set-up a VPN on a Ubuntu 12.0.4 instance and have followed the simple install script (https://github.com/Nyr/openvpn-install). Now the next step is to download the .opvn file that has been created on the server, to local computer. How do I do this? I know this is pretty simple thing to do, but I just cannot get the scp command to work.

I installed the script through PuTTy and can see the .opvn file sitting on the server after running the script.

Thank you for your help.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

@Pringles

The easiest way to download the file(s) would be to use SFTP. You can use programs such as FileZilla or WinSCP to login using SFTP. Both support SSH Keys (FileZilla uses PuTTy’s PPK format for keys), so you’re not limited to logging in as root with a password (as this should be disabled – using SSH keys should be a priority).

SCP is nice if you’re only interested in working from the CLI, though I find that when it comes to file uploads and downloads, unless I’m dealing with large files, I prefer to use FileZilla.

WinSCP: https://winscp.net/eng/download.php FileZilla: https://filezilla-project.org/