[Top][All Lists]

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

Re: [Jailkit-users] sftp/scp jailkit setup on OpenBSD 4.1 - mount w/o no

From: . .
Subject: Re: [Jailkit-users] sftp/scp jailkit setup on OpenBSD 4.1 - mount w/o nodev
Date: Wed, 11 Jul 2007 16:34:19 -0600

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

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?

Alright, thanks. I tried ktrace and the last error before sftp-server dies is "/dev/null: Device not configured". Then a google search led me back to your FAQ :).

It's working now. When the script sets up /<home/jail>/dev/null|urandom it should do a quick read to ensure they're working.


"I get errrors like /dev/null: Device not configured on OpenBSD?!
Sftp fails silently on OpenBSD?!

OpenBSD mounts most paritions (except for /) with option 'nodev'. Remove that option for the mount where your chroot jail resides. "

Windows Live Hotmail with drag and drop, you can easily move and organize your mail in one simple step. Get it today! www.newhotmail.ca?icid=WLHMENCA153

reply via email to

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