jailkit-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Jailkit-users] sftp/scp jailkit setup on OpenBSD 4.1


From: Olivier Sessink
Subject: Re: [Jailkit-users] sftp/scp jailkit setup on OpenBSD 4.1
Date: Wed, 11 Jul 2007 23:43:43 +0200
User-agent: Icedove 1.5.0.12 (X11/20070607)

. . wrote:
[..]
bash-3.2# ls
dev etc usr
bash-3.2# jk_jailuser -m -j /sftp mike
home directory /sftp/./home/mike is already inside the jail

can it be that /etc/passwd was changed already, but the actual location of the files not (because at that stage it crashed?)?

[..]

Now I get this:
Connecting to xxx.xxx.xxx.xxx...
address@hidden's password:
Connection closed

/var/log/authlog
Jul 11 05:29:57 sftp sshd[10902]: Accepted password for mike from xxx.xxx.xxx.xxx port 32437 ssh2
Jul 11 05:29:57 sftp sshd[32100]: subsystem request for sftp
Jul 11 05:29:57 sftp jk_chrootsh[24851]: now entering jail /sftp for user mike (1002)
Jul 11 11:29:57 sftp jk_lsh[24851]: jk_lsh version 2.3, started
Jul 11 11:29:57 sftp jk_lsh[24851]: executing command '/usr/libexec/sftp-server' for user mike (1002)

hmm funny.. the logs look exactly right. this is what is supposed to happen if everything works. perhaps debugging with `strace` (see howto on the jailkit website) helps?

Olivier




reply via email to

[Prev in Thread] Current Thread [Next in Thread]