Is there a way to temporarily disable public key authentication when ssh'ing, and use password authentication instead?
I currently want to access remote server, but I'm using another laptop, not mine.
Browsing that link, I found that the command ssh -o PreferredAuthentications=keyboard-interactive -o PubkeyAuthentication=no host1.example.org
doesn't work everywhere. And yes, it doesn't work for me. I'm using: OpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar 2012
Edit: I also tried to type ssh -o PreferredAuthentications=password -o PubkeyAuthentication=no
but still have "Permission denied (publickey)".
So, is there a specific configuration to do in the remote server, for that command to work? Or, when that command will work as expected?
Thanks a lot for advices.