Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Secure-Shell
[Top] [All Lists]

RE: OpenSSH, Chroot, and Public Key issue

Subject: RE: OpenSSH, Chroot, and Public Key issue
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
 

<Prev in Thread] Current Thread [Next in Thread>