That's a new one to me, having to turn off Kerberos when the system isn't even configured for it.
I'll keep that in mind though, thanks for the info Tilghman. " 'With the first link, the chain is forged. The first speech censured, the first thought forbidden, the first freedom denied, chains us all irrevocably.' Those words were uttered by Judge Aaron Satie as wisdom and warning... The first time any man's freedom is trodden on, we’re all damaged." - Jean-Luc Picard, quoting Judge Aaron Satie, Star Trek: TNG episode "The Drumhead" - Alex Smith - Dulles, Virginia On Wed, Jul 1, 2015 at 9:40 PM, Tilghman Lesher <[email protected]> wrote: > 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. > -- -- 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.
