LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 11-12-2012, 01:08 PM   #1
mafteha
LQ Newbie
 
Registered: Nov 2012
Posts: 2

Rep: Reputation: Disabled
Unhappy Permission denied (publickey,gssapi-keyex,gssapi-with-mic)


hi everyone ,

i start to learn linux a few month ago

i have one centos and one redhat linux on a routeur with ethernet cable
i want to make a ssh connection
with
ssh-keygen
ssh-copy-id
and i get :
Permission denied (publickey,gssapi-keyex,gssapi-with-mic)

i check openssh server on
init.d httpd start
service httpd start
selinux permissive

nothing help

please do you have any idea

what going on ?

thanks

Joseph
 
Old 11-13-2012, 07:12 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,653
Blog Entries: 2

Rep: Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095
You are trying to copy your SSH key to the server. For this you have to authenticate with the password (since your key is not already there), but password based authentication seems to be disabled on the server.
 
Old 11-13-2012, 08:33 PM   #3
mafteha
LQ Newbie
 
Registered: Nov 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
Hi Tobi

What do you mean by this ?

How could it be disable ?

I have the 2 server in my home and i know the password they worck ...

Disable ? So there is a command to enahle them?

Thanks fir your time
 
Old 11-14-2012, 05:32 AM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,653
Blog Entries: 2

Rep: Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095Reputation: 4095
Your server states this:
Quote:
Permission denied (publickey,gssapi-keyex,gssapi-with-mic)
IIRC, if password based authentication would be allowed they would be the word password in this line. I might be wrong with this, but you can check by logging on to the server and have a look ath the file /etc/ssh/sshd_config and search for the line containing PasswordAuthentication. If it is set to yes or commented out (means beginning with a #-character) then password based authentication is allowed and this is not your problem.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Amanda Backup Permission denied (publickey,gssapi-with-mic,password). error mcdown75 Linux - Software 6 07-10-2014 12:42 PM
Permission denied (publickey, gssapi-keyex,gssapi-with-mic,password) Huaqing Wang Linux - Newbie 1 06-27-2012 08:51 PM
Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password,keyboard-inte ract MilanK Linux - Newbie 1 03-20-2012 04:44 AM
Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password) scman64 Linux - Newbie 1 12-13-2011 01:20 AM
[SOLVED] kerberos SSO: ssh not trying gssapi-with-mic doqc1 Linux - Software 1 08-22-2011 05:04 AM


All times are GMT -5. The time now is 10:21 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration