Re: sshd Authentication refused

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"jack craig wrote:"
> 
> 
> 
> On 07/13/2010 01:36 PM, David Highley wrote:
> > "jack craig wrote:"
> >    
> >>
> >>
> >> On 07/13/2010 11:16 AM, David Highley wrote:
> >>      
> >>> New install of Fedora 13 we get the following /var/log/secure entry when
> >>> we ssh from a Fedora 12 system to the Fedora 13 system:
> >>> Authentication refused: bad ownership or modes for file /home/dhighley/.ssh/authorized_keys
> >>>
> >>> We have checked and tried different modes until we are blue in the face.
> >>> Have read the upates notes for openssh and Fedora 13 release. Googled
> >>> the net for know issues and bugzilla.redhat.com. We did check for
> >>> selinux blocks and found none.
> >>>
> >>> User home directory is auto NFS mounted and we use NIS. This works
> >>> Fedora 12 to Fedora 12.
> >>>
> >>>        
> >> Hi David,
> >>
> >> I use this feature of ssh a lot.
> >>
> >> i like to debug as, ...
> >>
> >> ssh user@host date
> >>
> >> so it fails...  now try,
> >>
> >> ssh -v -v -v user@host date
> >>
> >> what does this tell you?
> >>      
> > Nice
> >
> > [dhighley@spruce ~]$ ssh -v -v -v redwood date
> >
> i am going to assume for the moment you have created new key files and 
> loaded them to the
> authorized_keys file.

Why would I need to create new key files? We save the /etc/ssh directory
and restore keys. Besides, we are not talking about the host keys, were
talking about the user's keys.

> 
> so, this is going to sound bizarre, but try it...
> 
> lets talk client and server to identify the 2 hosts in your issue.
> 
> on each host, in the home directory,

This is old school server set up where there is only one home directory
in the network for a user. That home directory is share from an NFS
server to all other systems via auto mounter and NIS.

The keys work except for ssh Fedora 12 -> Fedora 13. If you ssh
Fedora 13 -> Fedora 12 or ssh Fedora 12 -> Fedora 12 they work. If you
provide a password when sshing Fedora 13 -> Fedora 12 it works. Just
need to solve the issue of needing to provide a password.

> 
> $ mv .ssh .ssh_save
> 
> log out of each of cleint & server
> 
> log into client
> 
> try access the server via ssh cmd (ok if it fails), logout again.
> 
> login and on each of client & server,
> 
> $ mv .ssh_save .ssh    (make sure the perms stayed as 700)
> 
> now try your
> 
> $ ssh user@host date
> 
> again, any luck?
> 
> 
> 
> 
> -- 
> Jack Craig
> Software Engineer
> 831.461.7100 x120
> www.extraview.com
> 
> -- 
> users mailing list
> users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> 
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux