1

Is there any way to get the vpn client to read in the username and password (I'm ok with plaintext for now) without having to type it everytime?

Edit: My intention is to call a script through ssh_config that will automatically connect to the vpn when I ssh a specific host.

This is the closest solution I've found: http://backdrift.org/automatic-vpn-login-on-connect-with-ssh-and-vpnc

1 Answer 1

0

This is easily possible when going for the simpler solution of NetworkManager, there's a Cisco VPN plugin for it.

2
  • I added some context to the question.
    – schuberm
    May 17, 2013 at 14:29
  • Oh, vpnc, not anyconnect? Just specify Xauth (username|password) in the config.
    – towo
    May 17, 2013 at 17:18

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .