OpenSSH
[Top] [All Lists]

Verbose messaging about why public key auth was rejected

To: openssh-unix-dev@mindrot.org
Subject: Verbose messaging about why public key auth was rejected
From: Ryan Findley <ryan@neomindstudio.com>
Date: Tue, 30 Jan 2007 13:24:30 -0500
Delivered-to: sp-com-lists@consult.net
Delivered-to: openssh-unix-dev-list1@securepoint.com
Delivered-to: openssh-unix-dev-tmda@mindrot.org
Delivered-to: openssh-unix-dev@mindrot.org
List-archive: <http://lists.mindrot.org/pipermail/openssh-unix-dev>
List-help: <mailto:openssh-unix-dev-request@mindrot.org?subject=help>
List-id: Development of portable OpenSSH <openssh-unix-dev.mindrot.org>
List-post: <mailto:openssh-unix-dev@mindrot.org>
List-subscribe: <http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev>, <mailto:openssh-unix-dev-request@mindrot.org?subject=subscribe>
List-unsubscribe: <http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev>, <mailto:openssh-unix-dev-request@mindrot.org?subject=unsubscribe>
Sender: openssh-unix-dev-bounces+openssh-unix-dev-list1=securepoint.com@mindrot.org
I had a small battle with public key authentication today at the end  
of which I realized that the problem was the permissions on my home  
directory (previously I though ~/.ssh was all that mattered. You  
learn something new every day!).

While I was trying to track this problem down, I used ssh -v and sshd  
-ddd to get as much information as possible about why my public key  
wasn't working, and neither mentioned that it was a simple  
permissions issue.

My question: is there a way to have ssh and/or sshd tell you WHY a  
public key is being rejected (specifically the permissions thing)?
If so, can someone point me at a good document? I'm using OpenSSH  
3.9p1 under RHEL4 (at the moment) and can upgrade if it's in a newer  
version.
If not, would the OpenSSH team consider adding this feature? I'm  
betting I could probably manage the changes necessary, and submit a  
patch...

Thanks,
-ryan findley
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev

<Prev in Thread] Current Thread [Next in Thread>