linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rick Ellis <ellis@spinics.net>
To: linux-admin@vger.kernel.org
Subject: Re: SSH auth problem
Date: Mon, 14 Jul 2008 01:31:48 +0000 (UTC)	[thread overview]
Message-ID: <1215999108.483256@no.spam> (raw)
In-Reply-To: 4879BD0D.3070100@tut.by

In article <4879BD0D.3070100@tut.by>,
alexander.lopata <alexander.lopata@gmail.com> wrote:

>It seems that sshd does not see authorized_keys file in my home folder.
>What I've done is put my openSSH public key in %h/.ssh/authorized_keys  
>and configure my ssh client to use corresponding private key. But SSH 
>still ask password. What can be wrong ?

That's usually caused by the permissions on the .ssh director or the
permissions on the authorized_keys file. Make sure neither are accessable
to anybody other than the user that owns them.

--
http://www.spinics.net/lists/linux-admin/


  reply	other threads:[~2008-07-14  1:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-13  8:30 SSH auth problem alexander.lopata
2008-07-14  1:31 ` Rick Ellis [this message]
2008-07-14 10:23   ` Axl Purushu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1215999108.483256@no.spam \
    --to=ellis@spinics.net \
    --cc=linux-admin@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).