It asks for the password, certificate and token and everything is working as expectedĪnd running it with. So i'm not sure if the problem is in my password where it includes a character (escaping with or in the token part or in the token code part.įorticlientsslvpn_cli -server host:443 -vpnuser vnn_user -keepalive Please check the password, client certificate, etc. I have tried to add also token handlingĮxpect "A FortiToken code is required for SSL-VPN login authentication."īut i keep getting an error about authentication Spawn $FORTICLIENT_PATH -server $VPN_HOST -vpnuser $VPN_USER -keepaliveĮxpect "Would you like to connect to this server? (Y/N)" Killall -9 $(basename $FORTICLIENT_PATH ) 2> /dev/null "Įcho "Specify it at variable FORTCLIENT_PATH "Įcho "Located Forticlient VPN Client at: $FORTICLIENT_PATH "Įcho "Killing previous instances of Forticlient SSL VPN client. # If empty - script will take some simple logic to locate appropriate binary.įORTICLIENT_PATH= `uname -r | grep -q 64 & echo $(locate forticlientsslvpn_cli | grep 64bit ) || echo $(locate forticlientsslvpn_cli | grep 32bit ) `Įcho "Tried to locate Forticlient SSL VPN Cli binary, but failed. # Forticlient SSL VPN Client launching script utilizing expect.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |