Skip to main content

A command called vpn and foo for the cloudmesh shell

Project description

cms vpn

Linux

ls ~/.ssh/uva/
user.crt  user.key  user.p12  usher.cer  usher.crt

Now I need to develop a commandline tool with open connect as it is already installed on ubuntu.

So I can say what you see next. HOwever I still get an error and the connection hangs. I could possibly put that in & but the dev seems wrong. DO you know how to avoid this?

sudo openconnect -b -v  --protocol=anyconnect --cafile="$HOME/.ssh/uva/usher.cer" --sslkey="$HOME/.ssh/uva/user.key" --certificate="$HOME/.ssh/uva/user.crt" --passtos  -b uva-anywhere-1.itc.virginia.edu &> /dev/null 2>&1

kill:

# sudo kill -9 `pgrep openconnect`
sudo pkill -SIGINT openconnect

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cloudmesh-vpn-4.3.1.tar.gz (6.3 kB view hashes)

Uploaded Source

Built Distribution

cloudmesh_vpn-4.3.1-py2.py3-none-any.whl (6.3 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page