hadifarnoud Posted October 23, 2013 Posted October 23, 2013 (edited) Hi folks, I often find myself in an usecure wifi network. I don't want to go though the hassle of building a VPN server and I don't like hotspot shield.I ssh tunnel to my server and set socks proxy. it's a hassle so I figured many others may like this workflow too. however, I have a tiny issue. my scripts ask for user's password too many times. if only they could set password in workflow or change script to include the password. It's a shell script. Get it herePS: is there any way to ask user to configure this workflow after installing? like setting their ssh user and server? Edited October 25, 2013 by hadifarnoud
jdfwarrior Posted October 29, 2013 Posted October 29, 2013 Hi folks, I often find myself in an usecure wifi network. I don't want to go though the hassle of building a VPN server and I don't like hotspot shield. I ssh tunnel to my server and set socks proxy. it's a hassle so I figured many others may like this workflow too. however, I have a tiny issue. my scripts ask for user's password too many times. if only they could set password in workflow or change script to include the password. It's a shell script. Get it here PS: is there any way to ask user to configure this workflow after installing? like setting their ssh user and server? You could check to see if a config file exists on first run and if it doesn't, skip the execution and open a text file of instructions or display a notification that the workflow needs to be properly configured before it can work? hadifarnoud 1
hadifarnoud Posted October 29, 2013 Author Posted October 29, 2013 You could check to see if a config file exists on first run and if it doesn't, skip the execution and open a text file of instructions or display a notification that the workflow needs to be properly configured before it can work? Thanks. that's the config problem solved. now, how can I avoid asking user's password every time?
jdfwarrior Posted October 30, 2013 Posted October 30, 2013 Thanks. that's the config problem solved. now, how can I avoid asking user's password every time? Well... could try using something like 'security' from the command line. Storing passwords is always a tricky one..
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now