Dear List,
I cannot get public ssh keys to work in a fresh install of centos6.5
This might be a centos bug.
I've googled for a solution.
Mostly I found threads suggesting I debug sshd or run ssh -v for clues.
Also I've seen threads suggesting I look at file and directory permissions.
I dont
On 05/09/2014 03:34 PM, Dan Bikle wrote:
Dear List,
I cannot get public ssh keys to work in a fresh install of centos6.5
[snip]
Steps to reproduce this bug:
[snip]
do this:
cat ~dan/.ssh/id_rsa.pub ~dan/.ssh/authorized_keys
I think you're missing:
chmod 600 ~dan/.ssh/authorized_keys
On 09/05/14 06:42 PM, Greg Bailey wrote:
On 05/09/2014 03:34 PM, Dan Bikle wrote:
Dear List,
I cannot get public ssh keys to work in a fresh install of centos6.5
[snip]
Steps to reproduce this bug:
[snip]
do this:
cat ~dan/.ssh/id_rsa.pub ~dan/.ssh/authorized_keys
I think you're
On Fri, May 09, 2014 at 03:42:52PM -0700, Greg Bailey wrote:
I think you're missing:
chmod 600 ~dan/.ssh/authorized_keys
Without it, sshd won't use the authorized_keys file if it's readable by
other users. (I think that's related to StrictMode; consult sshd man
page)
No. Public keys
I noticed that authorized keys had the group-write-bits set to 6.
I fixed it:
chmod 644 ~dan/.ssh/authorized_keys
Now I can authenticate via public-key.
Yay!
Thanks Stephen
On 5/9/14, Stephen Harris li...@spuddy.org wrote:
On Fri, May 09, 2014 at 03:42:52PM -0700, Greg Bailey wrote:
I
5 matches
Mail list logo