In Sophos Connect 1.x or 2.x sccli with working connections created by importing scx files is there a way to establish an ipsec vpn connection authenticated with otp manually from command line?
This thread was automatically locked due to age.
Important note about SSL VPN compatibility for 20.0 MR1 with EoL SFOS versions and UTM9 OS. Learn more in the release notes.
In Sophos Connect 1.x or 2.x sccli with working connections created by importing scx files is there a way to establish an ipsec vpn connection authenticated with otp manually from command line?
Hi onward,
Thank you for reaching out to Sophos Community.
Here is a command to enable an IPsec connection with OTP.
C:\Program Files (x86)\Sophos\Connect>sccli enable -n <Connection Name> -u <username> -p <password+otp>
eg: C:\Program Files (x86)\Sophos\Connect>sccli enable -n Test -u ipsecvpn -p ipsecvpn029746
Hi onward,
Thank you for reaching out to Sophos Community.
Here is a command to enable an IPsec connection with OTP.
C:\Program Files (x86)\Sophos\Connect>sccli enable -n <Connection Name> -u <username> -p <password+otp>
eg: C:\Program Files (x86)\Sophos\Connect>sccli enable -n Test -u ipsecvpn -p ipsecvpn029746
, if we aren't using OTPs is there a way to save these credentials so that the next time the connection is made via the CLI I would only have to enter: sccli enable -n Test
My goal is to be able to configure Sophos Connect via the command line inferface without having to enter the credentials in via the GUI. I'm able to make the connection via the CLI if I specify the username and password each time, the problem is that I have set auto-connect to enabled if it is unable to reach the local resource I have specified, without saved credentials, I would have to initiate the enable command manually with the username and password.
Thanks.