How to suppress phpseclib “Invalid HMAC” warning
问题 I am using phpseclib to transfer files via SFTP, but login fails with Invalid HMAC I need to ignore this server warning. For example with curl command I use the -k option. Can I do the same with phplibsec? -k, --insecure (SSL) This option explicitly allows curl to perform "insecure" SSL connections and transfers. All SSL connections are attempted to be made secure by using the CA certificate bundle installed by default. This makes all connections considered "insecure" fail unless -k, -