[prev in list] [next in list] [prev in thread] [next in thread] 

List:       scponly
Subject:    Re: [scponly] Public-key authentication
From:       lupe () lupe-christoph ! de (Lupe Christoph)
Date:       2004-02-20 8:56:09
Message-ID: 20040220085609.GA20978 () lupe-christoph ! de
[Download RAW message or body]

On Thursday, 2004-02-19 at 19:43:37 +0000, Frank Russell wrote:
> How do you setup public-key authentication for a scponly (jailed Chroot 
> account).

> Note i have public-key working fine with a normal shell account. And i have 
> tried puting a authorized_keys file in a root owed .ssh directory scponly 
> account

Put an authorized_keys in $HOME/.ssh for that user. Make sure that
.ssh and authorized_keys are readable by that user. They should
probably be owned by root, so set them to a group the user belongs
to and make both .ssh and authorized_keys group-readable (550 and 440).

Note that SSH happens before scponlyc is executed. So you can test this
with a normal shell. Once it runs, put scponlyc in.

HTH,
Lupe Christoph
-- 
| lupe@lupe-christoph.de       |           http://www.lupe-christoph.de/ |
| "Violence is the resort of the violent" Lu Tze                         |
| "Thief of Time", Terry Pratchett                                       |

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic