On Sun, 24 Jun 2007, Jude DaShiell wrote: > If you want to disable scp and sftp access for shell users of your > machine all you need do is put a command in each account's .bashrc > that'll generate text. The ssh access will still be possible but not > sftp or scp. That was a lesson learned the hard way on my part. That's an incredibly bad idea! If you do that, you risk leaving hung processes around that will later have to be killed.