Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Under "System" > "Preferences" > "Network Connections" I can create PPTP VPNs. This works when I am at a GUI, I can click the network connections icon in the top right, and select a VPN from the list and connect to it.

Is it possible to connect to these PPTP sessions via the terminal if I only have SSH access, using these predefined sessions, so I don't have to type all the details in again?

share|improve this question

2 Answers 2

try to configure pppd, this is an example. i believe you understand that your configuration file can differ.

share|improve this answer
up vote 1 down vote accepted

So it turns out this is a duplicate of another question which I couldn't previously find;

Connect/disconnect from VPN from the command line

I would like to add though, to install nmcli on my 10.04 machine I had to;

sudo add-apt-repository ppa:network-manager/trunk  
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install network-manager
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.