It's not the server keys.  The recommendation I saw says remove all the key
files from /etc/ssh/ and restart SSHD.  When I did this it regenerated the
keys, which were just over a year old.  It's still asking for a password.

On Thu, Oct 9, 2014 at 5:50 PM, Curt Lundgren <verif...@gmail.com> wrote:

> Yeah, I thought about that.  I was using cat to produce the
> authorized_keys file, like I generally do.  I also tried doing a cat on
> each file individually and pasting into Emacs.  No difference.
>
> On Thu, Oct 9, 2014 at 5:49 PM, Robert Wohlfarth <rbwohlfa...@gmail.com>
> wrote:
>
>> On Thu, Oct 9, 2014 at 5:25 PM, Curt Lundgren <verif...@gmail.com> wrote:
>>
>>> All was well in Linux-land until yesterday when I added another host key
>>> to .ssh/authorized_keys.  It's running CentOS 6.5, a VM under VMware.
>>>
>>> .ssh/ is owned by root:root.  Its files are similarly owned and both
>>> authorized_keys and known_hosts have 600 permissions.
>>>
>>> OpenSSH is version 5.3p1.
>>>
>>> After yesterday I can use a key file from any host, just one host, and
>>> it works perfectly.  Cat together the keys from two or more hosts and it
>>> asks for a password.
>>>
>>> Oh, and if I stop the SSHD service and run /usr/sbin/sshd -ddd for
>>> debugging, you guessed it, it works perfectly from any host, but naturally
>>> for just one connection.
>>>
>>
>> Could it be related to the editor? Something crazy like the wrong new
>> line character?
>>
>> --
>> Robert Wohlfarth
>>
>> --
>> --
>> 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