LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-26-2011, 03:28 AM   #1
Roko
LQ Newbie
 
Registered: Sep 2008
Posts: 14

Rep: Reputation: 0
ssh login problem


hi all, i have login problem on my debian with ssh. when i type

Code:
ssh ip -v
i cann see this:

Quote:
debug1: Unspecified GSS failure. Minor code may provide more information
No credentials cache found

debug1: Unspecified GSS failure. Minor code may provide more information
No credentials cache found

debug1: Unspecified GSS failure. Minor code may provide more information
No credentials cache found

debug1: Unspecified GSS failure. Minor code may provide more information
Unknown code H 1
do you know, what cann be there problem?
thanks
 
Old 01-26-2011, 04:01 AM   #2
chickenjoy
Member
 
Registered: Apr 2007
Distribution: centos,rhel, solaris
Posts: 239

Rep: Reputation: 30
I believe that error is relared to GSS authentication being tested at the ssh server you are connecting to (the machine you are ssh-ing into). Usually once this check has failed it will move on to password authentication and prompt for a password. You can now provide the password for a valid user in that system. All is well.

Its like this when you try to connect via ssh:

1. check for password-less authentication else;
2. check for GSS authentication else;
3. if none of the above; then prompt for a password.

You can disable GSS being used by commenting all GSS related options inside the sshd config file at the machine your connecting too.

Last edited by chickenjoy; 01-26-2011 at 04:02 AM.
 
Old 01-26-2011, 04:35 AM   #3
Roko
LQ Newbie
 
Registered: Sep 2008
Posts: 14

Original Poster
Rep: Reputation: 0
thanks, i must disable it, now i must wait 20 seconds after typing ssh command...
 
Old 01-26-2011, 04:37 AM   #4
chickenjoy
Member
 
Registered: Apr 2007
Distribution: centos,rhel, solaris
Posts: 239

Rep: Reputation: 30
disabling it actually saves majority of the time it originally takes to prompt for the password.
 
Old 01-26-2011, 05:39 AM   #5
Roko
LQ Newbie
 
Registered: Sep 2008
Posts: 14

Original Poster
Rep: Reputation: 0
thanks chickenjoy
 
Old 01-26-2011, 12:52 PM   #6
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally Posted by Roko View Post
thanks, i must disable it, now i must wait 20 seconds after typing ssh command...
Sometimes there's a delay if you have the default UseDNS as yes:

Code:
UseDNS no
In your sshd_config
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] SSH login problem for additional users after password-less login setup uncle-c Linux - Newbie 3 02-10-2010 12:51 PM
SSH Problem - Can't login using Hostname, can login using ip address jqweezy Linux - Networking 7 01-26-2009 02:21 PM
Problem login with ssh solarize Linux - Desktop 3 04-03-2007 03:23 AM
SSH Login problem Artik Linux - Networking 6 10-17-2005 09:54 AM
ssh login problem K_M_McMahon Linux - Newbie 4 03-29-2004 09:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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