9
3
I use putty to login to my RHEL 5.3 server. I'm prompted to enter my login as "login as" and I enter my login Id. As soon as I press Enter, I see a "Access Denied" message following which I'm prompted with password. I successfully enter password and I'm through -- no problems.
I tried the same with putty 0.60 (as opposed to above putty 0.61), but in this version, I don't get any "access denied" error. What should I make of this? Is putty 0.61 version buggy?
P.S.: If I login using ssh.exe
(from cygwin), then I'm fine -- I don't get any "access denied" errors.
aha! that was a a cool explanation. – anjanbacchu – 2011-07-19T14:03:09.890
I got the same error message and confirmed it was being caused by GSSAPI authentication. I disabled GSSAPIAuthentication in sshd_config. Was that the correct thing to do? – Barry Brown – 2011-08-29T06:49:18.097
@Barry: My opinion on that varies. Was it a personal computer? Was it a standalone server? GSSAPI is unneeded for those and it's okay to disable it. Was it one server out of a large network of servers? GSSAPI is not needed either, and it's still okay to disable it, but it can make logins much more convenient if set up properly. – user1686 – 2011-08-29T08:27:05.860
It's a standalone server. Thanks for the info. – Barry Brown – 2011-08-30T04:48:05.193
2@BarryBrown, you disabled
GSSAPIAuthentication
insshd_config
, which is ok, but I think the better option is to tell PuTTY not to try using it. You can do that via PuTTY options Connection > SSH > Auth > GSSAPI. Uncheck the 'Attempt GSSAPI authentication' checkbox. – Kem Mason – 2011-09-22T18:27:57.340@Kem: No, it is better to disable GSSAPI server-side when there is no infrastructure for it in the first place. (Besides, for people who use PuTTY/ssh from several machines, there's only one location to reconfigure.) – user1686 – 2011-09-22T20:06:09.837