Is there a way to save the server key after a successful connection, ssh method?
No matter how many times I connect, I must always type â yes â to accept the server key. I would like it to be accepted and stored forever.
############################### amir@amirpc :~$ sudo openconnect uk.cisadd.com -u myusername POST https://uk.cisadd.com/ Attempting to connect to server xxx.xxx.xxx.xxx:443 SSL negotiation with uk.cisadd.com Server certificate verify failed: signer not found Certificate from VPN server "uk.cisadd.com" failed verification. Reason: signer not found Enter 'yes' to accept, 'no' to abort; anything else to view: Connected to HTTPS on XXX.XXX.XXX.XXX ###############################
can write a bash script to run openconnect and exit yes ?
source share