Solution discovered.

So the problem was that Puttygen creates a public key file that has the
wrong format.  So... the trick is you need to open it in puttygen (or just
never close puttygen) and then select the key in the putty window (all the
text) and copy it to the clipboard, then paste it into your
~/.ssh/authorized_keys2 file so it all goes on a single line.  The public
key FILE that puttygen creates has multiple lines which is what causes the
problem.  No change to anything else was required.

Andy F

On Thu, Jul 2, 2015 at 10:00 PM, _NSAKEY <[email protected]> wrote:

> Another option is to set "GSSAPIAuthentication no" in your local
> ~/.ssh/config. It may only be a minor delay with RH, but I found the delay
> to be unacceptably long when messing with Solaris recently. I didn't feel
> like modifying the server's config (Plus, my local openssh config is too
> hardmode to connect to a server running SunSSH), so local config changes
> were needed.
>
> On Thursday, July 2, 2015 at 3:12:58 AM UTC-5, John R. Dennison wrote:
>>
>> On Thu, Jul 02, 2015 at 01:08:37AM -0400, Andrew Farnsworth wrote:
>> > Normal ssh (non-key based) works fine from my laptop with no delays or
>> > problems.  Same from another server in the rack.  That said, DNS lookup
>> > should not be a problem and sshd should be enabled or that wouldn't
>> work.
>>
>> Probably selinux - 'restorecon -fRv /home/$user/.ssh'
>>
>> There is zero need to disable GSSAPI auth.  There is zero need to
>> disable rDNS lookups; neither are fatal and will only delay login in
>> corner-cases.
>>
>>
>>
>>
>>
>>
>>                                                         John
>> --
>> What lies behind us and what lies before us are tiny matters compared to
>> what lies within us.
>>
>> -- Ralph Waldo Emerson
>>
>  --
> --
> 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.

Reply via email to