【VPN】Terminal 运行 Cisco AnyConnect VPN

Posted by 西维蜀黍 on 2020-07-26, Last Modified on 2021-09-21
$ vim VpnCrendentials
1

here_goes_your_username
here_goes_your_passwordy
$ alias vpn="/opt/cisco/anyconnect/bin/vpn connect your.cisco.vpn.hostname/vpn_name -s < ~/VpnCrendentials"
$ alias svpn="/opt/cisco/anyconnect/bin/vpn disconnect your.cisco.vpn.hostname/vpn_name"

TOC