Re: OpenSSH, Chroot, and Public Key issue

From: Nathan Jackson-Eeles (c.cured_at_gmail.com)
Date: 08/17/05

  • Next message: Nathan Jackson-Eeles: "Re: Anyone with a technique for accomplishing chroot using sftp"
    Date: Wed, 17 Aug 2005 15:26:01 +0200
    To: David Coley <dcoley@davidcoley.com>
    
    

    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]/


  • Next message: Nathan Jackson-Eeles: "Re: Anyone with a technique for accomplishing chroot using sftp"

    Relevant Pages

    • Re: sshd behaviour
      ... > " Nathan ... and I can't put hard link in it)? ... it would somewhat defeat the purpose of the chroot. ... hard links will only work within a single filesystem, ...
      (freebsd-questions)
    • 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: Need Help with Display in Chroot
      ... use schroot to set up the environment on-the-fly. ... like a charm when I needed an i386 Etch chroot when I ran amd64. ... I did, in fact, use schroot - that is instructions I found had me edit ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • RE: OpenSSH, Chroot, and Public Key issue
      ... inside the chroot now sftp's the files in via a local script. ... David Coley ... OpenSSH, Chroot, and Public Key issue ... > Users who are not in the chroot can use public keys, ...
      (SSH)
    • Re: How does Athlon 64 compare under linux to Pentiums ?
      ... Clive Menzies wrote: ... or will have to run a chroot. ... >>instructions to do this, ... >>Shockwave Plugin ...
      (Debian-User)