[scponly] scponly doesn't work after upgrade to lenny : SOLVED

Kaleb Pederson kaleb.pederson at gmail.com
Thu Oct 22 17:21:45 EDT 2009


On Monday 19 October 2009 02:23:02 pm you wrote:
> > "internal-sftp" makes sshd use a sftp server that requires no
> > additional libraries when working with a chroot.  I've never seen it
> > used independent of ChrootDirectory.  If all you need is sftp support,
> > then I'd recommend using ChrootDirectory and internal-sftp in
> > combination with ForceCommand.  If you need anything beyond that
> > scponly is there to help.
> > 
> 
> Thank you for the hint.
> 
> I tried the combination ChrootDirectory and ForceCommand interal-sftp 
> and it worked. It's just simpler and so it's better if I only need sftp.
> 
> There is one thing I need for some of the accounts and that's port 
> forwarding. Appearently it does not work with this setup.
> 
> Do I have to get back to scponly for these users?

I'm not sure.  With logging turned on, what does scponly output to syslog when you use port forwarding?  (Honestly, I would have guessed that it wouldn't work, but I've never tried with scponly.)

Thanks.

--
Kaleb Pederson

Twitter - http://twitter.com/kalebpederson
Blog - http://kalebpederson.com



More information about the scponly mailing list