[scponly] segfault when trying to connect

Kaleb Pederson kibab at icehouse.net
Fri Jul 20 18:58:07 EDT 2007


Thanks for the details Tim.

Can you try the latest CVS or the version I linked to a couple of days ago?  
I'm not aware of any prcoblems in that area, but I would like to know that 
this is fixed or fix the problem before our next release.

Thanks.

--Kaleb

On Friday 20 July 2007, Tim Donnelly wrote:
> 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
>
>
>
> _______________________________________________
> scponly mailing list
> scponly at lists.ccs.neu.edu
> https://lists.ccs.neu.edu/bin/listinfo/scponly


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : https://lists.ccs.neu.edu/pipermail/scponly/attachments/20070720/762a8700/attachment.bin 


More information about the scponly mailing list