Frazzled on id_dsa.pub logins (long post with ssh -vvv)
Cameron Simpson
cs at zip.com.au
Fri Mar 31 04:37:41 UTC 2006
On 30Mar2006 23:23, Michael Johnson <mjohnson at coderyte.com> wrote:
| On Mar 30, 2006, at 11:09 PM, Cameron Simpson wrote:
| >This is from /var/log/secure?
|
| Nope...but this comment got me to look there. =-)
| sshd[15622]: Authentication refused: bad ownership or modes for
| directory /root/.ssh
|
| >I'd check:
| > /root
| > No public or group write perms on /root, /root/.ssh or the
| > authorized_keys file.
|
| Ding ding ding...we have a winner.
|
| The permissions were fine, but the ownership was messed up. I
| restored /root/.ssh to root:root and it was fine.
|
| I guess it helps to look in the right log file.
|
| Thanks for the kick in the head. Staring at a problem too long and
| hard can make you completely miss the obvious.
I have the advantage of having stared too long and hard at exactly this kind
of problem in the past:-)
--
Cameron Simpson <cs at zip.com.au> DoD#743
http://www.cskk.ezoshosting.com/cs/
When asked what would I most want to try before doing it, I said Death.
- Michael Burton, michaelb at compnews.co.uk
More information about the redhat-list
mailing list