Those aliases need to be put in your .bash_profile file. That's the file that sets things up on interactive logins. The .bashrc file is for non-interactive logins. 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. hth.