Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Secure alternative to ftp?



>From: Jim Tittsler <jwt-tlug@example.com>
>
>An alternative for use with OpenSSH is to use a program like
>'scponly' as the shell.  It essentially vets the command that
>SSH is trying to run and only allows scp/sftpd.
>   http://www.sublimation.org/scponly/

scponly seems to be exactly what I want. The best feature is that is does a 
chroot and so users cannot see outside there own home directory.

I've installed it and I am trying to get it to run in conjunction with a 
winSCP client. However I get thsi error in the scp log file:

incorrect number of args

I had a look at the code and it seems that scponly expects commands passed 
to the shell to be of the form "<shell name> -c <remote command>. The third 
arg is what scponly uses. I am guessing that winSCP isn't doing what scponly 
expects?

Does anyone have any experience setting up scponly or hints as to how I 
might get around this?

I did get plain 'ol OpenSSH to work fine with winSCP but users where able to 
read files outside there home directory ... a definite no-no.

Jc

_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links