Looking at the keychains in the Keychain Access application, I see only entries of kind IPSec Shared Secret in the system keychain and nothing in the login keychain or local items. It would be a great plus if that wouldn’t even ask me to enter a password but retrieves it from the keychain instead. Installing another VPN client might solve that problem but you can also use a script as a workaround.Ī script or at least an alias is a good idea anyway because I’d like to have something as short as vpn connect 'myVPN'.
People are discussing for years now whether this is actually a bug or a feature of the built-in VPN client in Mac OS. Unfortunately, it is required to enter the password every time I connect because the account password is not stored in the keychain. $ scutil -nc status 'myVPN' Connect with Password from Keychainīoth mentioned commands work with the built-in VPN client.