I wrote a script which ask the password while opening a terminal. That
is executed successfully. But the problem is from some other user if I
put scp means the cursor is waiting and the file is not copied to my
directory?

Now I want to disable execution of .bashrc during the command scp.
How can I do that?