Quantcast
Channel: Active questions tagged openvpn - Unix & Linux Stack Exchange
Viewing all articles
Browse latest Browse all 827

Accessing openvpn from script without storing password on file

$
0
0
sudo openvpn  --config ubuntu.ovpn --auth-user-pass file

I know this command. Is there any other way to give password without using file. For suppose in wget I can use --http-user --http-password flags for authentication. I wrote a shell script which needs authentication multiple times, so my plan is to read username and password just one time from the user, store it on normal variables, and use the same username and password for multiple applications in which openvpn is one but it is strict no to store username and password in files. Are there any similar flags like what we have in wget to authenticate in openvpn


Viewing all articles
Browse latest Browse all 827

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>