Originally posted by Menestrel
I know about user rights, but I want to limit a user connecting through scp, to access only his home directory like in proftpd
If they have ssh and or shell accounts to this machine, if you chroot them to their home directory, it goes for all means of them logging in. Treat scp as ssh, but just transferring those files. If you really want to limit users, setup ftp or the like so they don't have shell access, you can limit where they have access to uploading files to, etc.