I'm finding that recently-created scponlyc chroots do not
provide a sufficient environment for /usr/libexec/sftp-server
to run. The sftp client symptom is just:
$ sftp user@www
Connecting to www...
Password:
Connection closed
$
The cause appears to be that recent versions of
/usr/libexec/sftp-server will complain about of lack of
access to /dev/null and exit, resulting in the closed
connection witnessed by the remote client.
The solution appears to be to create a devfs in the scponlyc
chroot.
To automatically create at boot time a devfs in the home
directory of each user of scponlyc, I have chosen to put a
script in /usr/local/etc/rc.d.
PR: ports/108009
Submitted by: Jim Long <list@museum.rain.com>
Approved by: maintainer timeout
From: Hideyuki KURASHINA <rushani@FreeBSD.org>
I've confirmed the rsync compatibility in scponly 4.4 is broken.
Unfortunately, at this moment I don't have enough time to
test the patch you showed us...
PR: ports/96295
Submitted by: UEDA Hiroyuki <ueda@drweb.jp>
o fixes that hopefully improve the optarg compilation situation
o UNISON $HOME environment fix
o fixes to setup_chroot.sh.in
PR: ports/92587
Submitted by: rushani (maintainer)
Update to 4.3. Highlights in this release,
- Compatibility of WinSCP in SCP mode improved.
- The scponlyc (chroot'ed version of scponly) works again.
PR: ports/91039
Submitted by: Hideyuki KURASHINA <rushani@FreeBSD.org>
1. Fix WinSCP compativility in SCP mode. PORTREVISION bumped.
2. Add sourceforge mirrors to ${MASTER_SITES}.
3. From scponly 4.2, scp & WinSCP compatibilities are not enabled
by default. Notice this at pre-everything target as well as
UPDATING.
PR: ports/90983
Submitted by: Hideyuki KURASHINA <rushani@FreeBSD.org>
depends a location of run-time link-editor. Since FreeBSD has
dynamic root capability from __FreeBSD_version == 501105, we
should add new location to unbreak the script.
PR: 59511
Submintted by: MAINTAINER
o Take up more safety default setting.
PR: ports/48480, ports/48492, ports/50899
Submitted by: Sergey A. Osokin <osa@FreeBSD.org.ru>
Adam Jette <jettea@fuzzynerd.com>
Miguel Mendez <flynn@energyhq.homeip.net>
Reviewed by: Sergey A. Osokin <osa@FreeBSD.org.ru>
Miguel Mendez <flynn@energyhq.homeip.net>
Ken McGlothlen <mcglk@artlogix.com> (maintainer)
Approved by: Ken McGlothlen <mcglk@artlogix.com> (maintainer)