LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   ssh: Permission denied (publickey,password,keyboard-interactive) ==> work around (https://www.linuxquestions.org/questions/linux-software-2/ssh-permission-denied-publickey-password-keyboard-interactive-%3D%3D-work-around-4175437178/)

michaelward 11-14-2012 04:57 PM

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:

Port xxxx
AddressFamily inet
Protocol 2
SyslogFacility AUTHPRIV
ServerKeyBits 2048
Subsystem sftp /usr/libexec/openssh/sftp-server

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.

Weird, huh!?!?
- Mike

acid_kewpie 11-15-2012 02:24 AM

Not a networking question, moved to Linux - software.

unSpawn 11-17-2012 06:55 AM

Quote:

Originally Posted by michaelward (Post 4829579)
Weird, huh!?!?

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.


All times are GMT -5. The time now is 10:39 PM.