通过 SSH 通过 Google 的 DisplayUnlockCaptcha 解锁服务器 IP

Nic*_* M. 2 centos6 g-suite

我的一台运行 php 脚本的 linux 服务器上的 IP 在使用 google 的 SMTP 服务器进行身份验证时出错。即使它是正确的凭据,它也会拒绝身份验证。

过去,我可以访问https://accounts.google.com/b/0/UnlockCaptcha,如果发生这种情况,我可以在那里解锁我的帐户,但是这是一个 linux 机器,没有任何前端贵。

有谁知道从 SSH 解锁谷歌验证码的方法?

EEA*_*EAA 5

只需使用 SSH 动态代理通过您的服务器来控制您的本地浏览器会话。

在本地运行:

$ ssh user@host -D8888
Run Code Online (Sandbox Code Playgroud)

然后进入浏览器的配置并将其设置为使用 .socks 代理127.0.0.1:8888