[scponly] Key-based authentication and scponly

COTE Philippe CoteP at iata.org
Fri Jul 28 13:27:48 EDT 2006


 
I changed the directory permission to 0700 and it just worked !

Thanks :)

Philippe 

-----Original Message-----
From: scponly-bounces at lists.ccs.neu.edu
[mailto:scponly-bounces at lists.ccs.neu.edu] On Behalf Of John Buttery
Sent: July 28, 2006 11:20 AM
To: scponly at lists.ccs.neu.edu
Subject: Re: [scponly] Key-based authentication and scponly

* On Fri 2006-Jul-28 10:53:37 -0400, COTE Philippe <CoteP at iata.org> wrote:
> I'm trying to do key-based auth. with scponly and chrooted jails and 
> it's not working.
>  
> I put the public key in /home/username/.ssh/authorized_keys, put 0600 
> permissions on .ssh and authorized keys, but when I try to connect, it 
> still asks me for the password.
>  
> Does anyone know why ?

  1) ~/.ssh is a directory, so it needs execute permissions.  0700

  2) Is sshd configured to allow "RSAAuthentication"?  Only?

  3) Try regular ssh-ing to that account with "ssh -v -v"...you won't
     get a prompt due to scponly, of course, but you can see the
     authentication conversation happen (with errors, if any).

--
  John  ! Since this email isn't signed, you can't really tell it's from
Buttery! me; I'll hopefully have my computer working normally again
www.io.c! soon, but until then...gotta love catastrophic drive failure.
om/~john! Mmm, rdiff-backup to the rescue!

_______________________________________________
scponly mailing list
scponly at lists.ccs.neu.edu
https://lists.ccs.neu.edu/bin/listinfo/scponly

________________________________________________________________________
This email has been successfully scanned for viruses, unwanted messages and
unsolicited content.
________________________________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3089 bytes
Desc: not available
Url : https://lists.ccs.neu.edu/pipermail/scponly/attachments/20060728/9c49501f/smime.bin


More information about the scponly mailing list