Re: ubuntu problem while trying to get Ceph working with 2 servers

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

 



Hi Thomas,

You had the right idea. 

/var/log/auth.log told me what the problem was:

Jul  4 16:31:38 ip-10-212-118-67 sshd[18792]: Authentication refused: bad ownership or modes for file /root/.ssh/authorized_keys

This was not working:

# ls -l /root/.ssh/authorized_keys
-rw------- 1 ubuntu ubuntu 612 2010-07-04 16:30 /root/.ssh/authorized_keys

After this command it works now:

# chown root:root /root/.ssh/authorized_keys

Thanks a lot for your help! :-)

Best Regards,
   Christian 


Am Sonntag, 4. Juli 2010 schrieb Thomas Mueller:
> 
> > But Ubuntu does not allow to login as root.
> > 
> > # ssh root@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Permission denied
> > (publickey).
> 
> did you check the /var/log/auth.log and /var/log/syslog on the slave for 
> sshd error messages?
> 
> if you created the /root/.ssh directory yourself on the slave it has 
> maybe wrong permissions.
> 
> or maybe ubuntu has disabled root login in /etc/ssh/sshd_config ? but 
> last time i used it it was not disabled.
> 
> - Thomas
> 
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 


--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux