ssh: Permission denied (publickey,password,keyboard-interactive) ==> work around
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
ssh: Permission denied (publickey,password,keyboard-interactive) ==> work around
While setting up ssh on my home network, connecting from my Ubuntu 11.10 laptop to my Fedora 12 desktop machine I got this error even though the userid and password given were correct.
I'm using minimal sshd options on both machines, except for the following /etc/ssh/sshd_config contents:
The interesting thing is this: (1) The Ubuntu 11.10 setup allowed keyboard-interactive login (and so I was able to ssh-copy-id my key over to it), but the Fedora 12 setup rejected all login attempts. (2) Debugging by: stopping the service on Fedora 12 and running /usr/sbin/ssh -d as root from the command line, allowed login.
Using this work-around, I was able to ssh-copy-id my key to Fedora 12, from whence on the ssh id key login is used and works.
Apart from you using a deprecated version of Fedora (please install the current release) there is nothing (weird): no configuration, no log excerpts, no diagnostics. Restarting a service isn't debugging and a debugging service only matters if debug output tells you what to fix.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.