If you have an ssh-agent running and perhaps alias ssh to ssh -A
, you
can disable agent forwarding and force password prompting with:
$ ssh -o 'PubkeyAuthentication=no' foo@127.0.0.1
or
$ SSH_AUTH_SOCK='' ssh foo@127.0.0.1
as described here.
Sat Jul 12 00:18:43 2014
If you have an ssh-agent running and perhaps alias ssh to ssh -A
, you
can disable agent forwarding and force password prompting with:
$ ssh -o 'PubkeyAuthentication=no' foo@127.0.0.1
or
$ SSH_AUTH_SOCK='' ssh foo@127.0.0.1
as described here.