[scponly] segfault when trying to connect

Tim Donnelly tim at coalliance.org
Fri Jul 20 12:48:42 EDT 2007


Hello list,

I recently installed scponly 4.6 on a OpenSuSE 10.1 server.  scponly was
configured with the following options:

./configure --enable-chrooted-binary --enable-sftp-logging-compat
--with-sftp-server=/usr/lib64/ssh/

I edited the /etc/shells directory as directed on the wiki to use scponlyc
and ran the make jail command to build the chroot jail.

When I attempt to connect to the server using the sftp command I get the
following output in the messages file:

Jul 20 08:44:36 tester sshd[28688]: Accepted keyboard-interactive/pam for
scponly from 208.178.237.110 port 50414 ssh2
Jul 20 08:44:36 tester sshd[28691]: subsystem request for sftp
Jul 20 08:44:36 tester scponly[28692]: chrooted binary in place, will
chroot()
Jul 20 08:44:36 tester scponly[28692]: 3 arguments in total.
Jul 20 08:44:36 tester scponly[28692]:  arg 0 is scponlyc
Jul 20 08:44:36 tester scponly[28692]:  arg 1 is -c
Jul 20 08:44:36 tester scponly[28692]:  arg 2 is /usr/lib64/ssh/sftp-server
Jul 20 08:44:36 tester scponly[28692]: opened log at LOG_AUTHPRIV, opts
0x00000029
Jul 20 08:44:36 tester scponly[28692]: retrieved home directory of
"/home/scponly" for user "scponly"
Jul 20 08:44:36 tester scponly[28692]: chrooting to dir: "/home/scponly"
Jul 20 08:44:36 tester scponly[28692]: chdiring to dir: "/"
Jul 20 14:44:36 tester scponly[28692]: setting uid to 1007
Jul 20 14:44:36 tester scponly[28692]: processing request:
"/usr/lib64/ssh/sftp-server"
Jul 20 08:44:36 tester kernel: scponlyc[28692]: segfault at 00000000004028e9
rip 00002aed92f01972 rsp 00007fff17d00850 error 7

I have ran traces, but to be honest they don't make any sense to me.  I have
posted them at http://www.coalliance.org/public if anyone would care to take
a look at them.

I appreciate any help. 

Tim Donnelly
System/Network Administrator
Colorado Alliance of Research Libraries
(303)759-3399 x106





More information about the scponly mailing list