LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   ssh login problem (https://www.linuxquestions.org/questions/linux-general-1/ssh-login-problem-858713/)

Roko 01-26-2011 03:28 AM

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

chickenjoy 01-26-2011 04:01 AM

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.

Roko 01-26-2011 04:35 AM

thanks, i must disable it, now i must wait 20 seconds after typing ssh command...

chickenjoy 01-26-2011 04:37 AM

disabling it actually saves majority of the time it originally takes to prompt for the password.

Roko 01-26-2011 05:39 AM

thanks chickenjoy

trickykid 01-26-2011 12:52 PM

Quote:

Originally Posted by Roko (Post 4238048)
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


All times are GMT -5. The time now is 05:14 AM.