1

An IP on one of my linux servers running a php script is getting a error authenticating with google's SMTP server. It's rejecting the authentication even though it's the proper credentials.

In the past I've been able to go to https://accounts.google.com/b/0/UnlockCaptcha where I was able to unlock my account if this happened however this is a linux box and does not have any front end gui.

Does anyone know of a way to unlock googles Captcha from SSH?

3

Just use an SSH dynamic proxy to schlep your local browser session through your server.

Run this locally:

$ ssh user@host -D8888

Then go into your browser's configuration and set it to use a socks proxy at 127.0.0.1:8888.

1

You can just go to the unlock URL and then initiate an SMTP connection from your server. You don't have to visit the unlock URL from inside the server.

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.