It's RedHat, which means you have to tweak the sshd_config file, to
turn off Kerberos authentication.  When you turn that off, key-based
authentication works perfectly.  Specifically, you want to set:

GSSAPIAuthentication off

On Wed, Jul 1, 2015 at 4:56 PM, Andrew Farnsworth <[email protected]> wrote:
> Evening everyone,
>   I'm struggling with SSH keys again.  I generated a key pair and put the
> public key on the server and the private key on my laptop.  I configured
> Putty to use the private key file and have copied the public key to the
> ~/.ssh/authorized_keys and ~/.ssh/authorized_keys2 file, set the permissions
> to 700 and 600 on the .ssh and authorized_keys/keys2 files.  I still get a
> "server refused our key" message when trying to login and it then prompts
> for password.
>
> note: I tried generating keys using the putty keygen and using the keygen on
> the linux server.
>
> OS is RHEL 6.6
>
> Any idea where I am going wrong?
>
> Andy
>
> --
> --
> You received this message because you are subscribed to the Google Groups
> "NLUG" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/nlug-talk?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "NLUG" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.



-- 
Tilghman

-- 
-- 
You received this message because you are subscribed to the Google Groups 
"NLUG" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nlug-talk?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"NLUG" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to