I've been trying scponly in RHEL5, between 3 boxes, to be clear.
Obviulsy, I downloaded the package from the official website of the project,
I compiled and installed it succesfully, everything worked out well.
I did the proper things to the /etc/shells and usermod in order to have my user with the scponly bash.
So, at this point everything should be ok, right?
I tried to copy a file using scp and it failed, nothing interesting when debugging the scp command (-v -v -v), nothing at all.
So after sometime guessing what could be wrong...(without success) I decided to copy the binary from my Ubuntu.
This is the infomation about the debian package from where I got the binary
manu@life:~$ apt-cache show scponly
Maintainer: Thomas Wana <firstname.lastname@example.org>
After changing it, everything is working smoothly.
I just wanted to let you know this issue with my RHEL5 and Suse 10
Thank you all for scpcopy.