I usually need to run the sshd process in debug mode to see what is
happening when things like this happen.

On Wed, Jul 1, 2015 at 4:56 PM, Andrew Farnsworth <farn...@gmail.com> 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 nlug-talk@googlegroups.com
> To unsubscribe from this group, send email to
> nlug-talk+unsubscr...@googlegroups.com
> 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 nlug-talk+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
You received this message because you are subscribed to the Google Groups 
"NLUG" group.
To post to this group, send email to nlug-talk@googlegroups.com
To unsubscribe from this group, send email to 
nlug-talk+unsubscr...@googlegroups.com
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 nlug-talk+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to