Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 12-22-2016, 04:30 PM   #1
LQ Newbie
Registered: Dec 2016
Posts: 17

Rep: Reputation: Disabled
Disabling GSSAPI Authentication

Hello everyone, I am trying to copy some files from my chef server on to my client with the command in the format of :
scp -pr root@chefserver:/etc/chef/admin.pem ~/chef-repo/.chef/
But I keep getting this error:
Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
I found some solutions online and tried implementing them by going into my client machine's /etc/ssh/sshd_config and /etc/ssh/ssh_config files and setting
GSSAPI Authentication=no
but the problem still persists. I would greatly value other people's input.
Old 12-22-2016, 05:56 PM   #2
Registered: Jan 2012
Location: Inside the oven
Distribution: Windows
Posts: 417

Rep: Reputation: 74
This is the correct line:

You have an extra space after GSSAPI.
Old 12-22-2016, 08:17 PM   #3
LQ Newbie
Registered: Dec 2016
Posts: 17

Original Poster
Rep: Reputation: Disabled
You have an extra space after GSSAPI.
That was a typo on my part. It didn't even end up being the issue. I had to set Password Authentication to yes. The issue was resolved.


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
[SOLVED] Authentication errors (publickey,gssapi-with-mic,password) Revenge7 Linux - Newbie 14 04-14-2015 04:41 AM
Permission denied (publickey, gssapi-keyex,gssapi-with-mic,password) Huaqing Wang Linux - Newbie 1 06-27-2012 07:51 PM
Cyrus IMAP / SASL - GSSAPI authentication doesn't work against Active Directory MheAd Linux - Server 3 02-03-2012 10:18 AM
Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password) scman64 Linux - Newbie 1 12-13-2011 12:20 AM
ssh w/ Kerberos5 and GSSAPI authentication in Slackware 12.1 dracus Slackware 0 07-21-2008 01:09 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:08 AM.

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