RE: OpenSSH, Chroot, and Public Key issue

From: David Coley (dcoley_at_sympatico.ca)
Date: 08/18/05

  • Next message: Eric Puryear: "Re: WELCOME to secureshell@securityfocus.com"
    To: <secureshell@securityfocus.com>
    Date: Thu, 18 Aug 2005 17:52:50 -0400
    
    

    The issue was the directory permissions due to wanting write into the
    directory from outside of the chroot.

    We changed tactic to multiple keys and the programming needing to write
    inside the chroot now sftp's the files in via a local script.

    David Coley
    Codecipher

    -----Original Message-----
    From: Nathan Jackson-Eeles [mailto:c.cured@gmail.com]
    Sent: Wednesday, August 17, 2005 9:26 AM
    To: David Coley
    Cc: secureshell@securityfocus.com
    Subject: Re: OpenSSH, Chroot, and Public Key issue

    Hi David,

    It sounds like the sshd cannot find the users authorized_keys file.
    What is the value of $HOME from a chroot'ed user?

    Nathan

    On 8/16/05, David Coley <dcoley@davidcoley.com> wrote:
    > Hello all,
    >
    > I recently built a chroot jail from scratch. I'm not using the /./ patch
    > but built a custom one based on the http://intmainvoid.nl/?chroot+shell
    > instructions.
    >
    > Now everything is working for the chroot and the secure shell, except for
    > public key authentication.
    >
    > Users who are not in the chroot can use public keys, those who are can't.
    >
    > I would appreciate any help at all. I've been working on this for days
    and
    > can not figure out what's wrong:
    >
    > Chroot users are in the following directory:
    > /home/sftp/[username]/home/[username]/

    -- 
    No virus found in this incoming message.
    Checked by AVG Anti-Virus.
    Version: 7.0.338 / Virus Database: 267.10.10/73 - Release Date: 8/15/2005
     
    

  • Next message: Eric Puryear: "Re: WELCOME to secureshell@securityfocus.com"

    Relevant Pages

    • Re: OpenSSH, Chroot, and Public Key issue
      ... It's a replacement shell for the user that does a ... chroot when the user logs in via ssh and only allows them to scp/sftp. ... I have it working with public key authentication as well. ... next auth method to try is publickey ...
      (SSH)
    • Re: OpenSSH, Chroot, and Public Key issue
      ... Nathan ... > instructions. ... > public key authentication. ... > Users who are not in the chroot can use public keys, ...
      (SSH)