yanne / api-test

0 stars 0 forks source link

disable ssh-agent in Login keyword #106

Open yanne opened 10 years ago

yanne commented 10 years ago

None

This issue was originally opened at Google Code on Apr 3, 2014.

yanne commented 10 years ago

Original comment by mike...@gmail.com on May 14, 2014.

it's a little more subtle than that.

As a workaround, try unsettling the SSH_AUTH_SOCK environment variable before running RIDE or pybot. What seems to be happening is that if paramiko sees an Ssh-agent socket and authenticating against THAT fails to authenticate, it doesn't fall through to password auth.

yanne commented 10 years ago

Original comment by juliantr...@gmail.com on May 16, 2014.

I would prefer to have control from script level than environment.

maybe exposing that setting to the api would be an elegant way. (yet I'm not a dev, so please forgive too much fantasy..)