[scponly] question

Peter van der Kamp Peter.vanderKamp at glidepath.nl
Thu Nov 1 06:10:36 EDT 2007


Hello,

 

I've configured an sftp server with openssh-4.2p1-chroot, openssl-0.9.8g
and scponly-4.6.

Everything works fine according to the logfile.

But it keeps disconnecting the session. When I change the shell to ksh
or something like that I can easily make an working connection.

 

Output from the logfile is:

 

Nov  1 09:06:20 ctb1ppuba01 auth|security:info sshd[1482956]: Accepted
password for klant1 from 10.33.1.80 port 2398 ssh2

Nov  1 09:06:20 ctb1ppuba01 auth|security:info sshd[970904]: subsystem
request for sftp

Nov  1 09:06:20 ctb1ppuba01 auth|security:info scponly[1937526]:
chrooted binary in place, will chroot()

Nov  1 09:06:20 ctb1ppuba01 auth|security:debug scponly[1937526]: 3
arguments in total.

Nov  1 09:06:20 ctb1ppuba01 auth|security:debug scponly[1937526]:
arg 0 is scponlyc

Nov  1 09:06:20 ctb1ppuba01 auth|security:debug scponly[1937526]:
arg 1 is -c

Nov  1 09:06:20 ctb1ppuba01 auth|security:debug scponly[1937526]:
arg 2 is /usr/sbin/sftp-server

Nov  1 09:06:20 ctb1ppuba01 auth|security:debug scponly[1937526]: opened
log at LOG_AUTH, opts 0x00000009

Nov  1 09:06:20 ctb1ppuba01 auth|security:debug scponly[1937526]:
retrieved home directory of "/home/chroot_top/klant1_chroot//klant1" for
user "klant1"

Nov  1 09:06:20 ctb1ppuba01 auth|security:debug scponly[1937526]:
chrooting to dir: "/home/chroot_top/klant1_chroot"

Nov  1 09:06:20 ctb1ppuba01 auth|security:debug scponly[1937526]:
chdiring to dir: "/klant1"

Nov  1 09:06:20 ctb1ppuba01 auth|security:debug scponly[1937526]:
setting uid to 700

Nov  1 09:06:20 ctb1ppuba01 auth|security:debug scponly[1937526]:
processing request: "/usr/sbin/sftp-server"

Nov  1 09:06:20 ctb1ppuba01 auth|security:info scponly[1937526]:
running: /usr/sbin/sftp-server (username: klant1(700), IP/port:
10.33.1.80 2398 22)

 

As you can see everything looks fine.

Can anybody help me solve this problem?

 

Greeting Peter

 

 

P. van der Kamp

3rd  line UNIX engineer

 

GlidePath BV

Anthony Fokker Business Park

Fokkerweg 300 - Building 59

1438 AN Oude Meer

The Netherlands

Tel  : +31 (0)20 60 58 150

Fax : +31 (0)20 60 58 087

Mob: +31 (0)6 52 66 74 35

 

 http://www.glidepath.nl <http://www.glidepath.nl/> 

 

Empowering your Business

ISO certified Business & IT Operations

The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you
received this in error, please contact the sender and delete the
material from any computer.

 

-------------- next part --------------
HTML attachment scrubbed and removed


More information about the scponly mailing list