LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 11-14-2012, 04:57 PM   #1
michaelward
LQ Newbie
 
Registered: Nov 2012
Posts: 1

Rep: Reputation: Disabled
Cool 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
 
Old 11-15-2012, 02:24 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Not a networking question, moved to Linux - software.
 
Old 11-17-2012, 06:55 AM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by michaelward View Post
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ssh -- Permission denied (publickey,password,keyboard-interactive). davidkline Linux - Networking 11 08-20-2014 02:19 PM
Cygwin, windows and Permission denied (publickey,password,keyboard-interactive). bernardr Linux - Newbie 0 05-16-2012 12:16 PM
[SOLVED] SSH - Permission denied (publickey,keyboard-interactive) sarves Linux - Newbie 3 05-12-2010 12:55 AM
Permission denied (publickey,password,keyboard-interactive) cccc Linux - General 3 05-31-2007 05:32 PM
Permission denied (publickey,password,keyboard-interactive). rockymaxsource Linux - Networking 3 04-27-2007 08:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration