cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3680
Views
0
Helpful
2
Replies

How to Connect to Anyconnect from Linux Terminal?

Hej
I have a Linux server (no-gui) that we want to connect to Anyconnect. But I am having a bit of a trouble figuring out how to connect to Anyconnect from Linux terminal.

From some googling this is what people seem to use the command below, but I get an error

cisco@Ubuntu-1:~$ cd /opt/cisco/anyconnect/bin/

cisco@Ubuntu-1:/opt/cisco/anyconnect/bin$ vpn -s 10.250.3.25
Command 'vpn' not found, did you mean:
command '7vpn' from snap 7vpn (4.7.0)
command 'vpv' from snap vpv (v0.8.2)
command 'ivpn' from snap ivpn (3.13.4)
command 'vpnc' from deb vpnc (0.5.3+git20210125-1)
command 'vpe' from deb texlive-latex-extra (2021.20220204-1)
command 'vp' from deb atfs (1.4pl6-15)
See 'snap info <snapname>' for additional versions.

Help appreciated.

1 Accepted Solution

Accepted Solutions

stsargen
Cisco Employee
Cisco Employee

You need to use ./vpn or add "/opt/cisco/anyconnect/bin/ to your PATH.

View solution in original post

2 Replies 2

stsargen
Cisco Employee
Cisco Employee

You need to use ./vpn or add "/opt/cisco/anyconnect/bin/ to your PATH.

Thanks. "./vpn -s connect <IP>" works