LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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, 12: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, 06:12 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
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, 07: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, 04:32 AM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:57 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