The ".bashrc" file is only processed within "interactive shells". There are multiple question around the Stack Exchange network:
- http://stackoverflow.com/questions/1198378/ssh-command-execution-doesnt-consider-bashrc-bash-login-ssh-rchttps://stackoverflow.com/questions/1198378/ssh-command-execution-doesnt-consider-bashrc-bash-login-ssh-rc
- http://stackoverflow.com/questions/1615877/why-aliases-in-a-non-interactive-bash-shell-do-not-workhttps://stackoverflow.com/questions/1615877/why-aliases-in-a-non-interactive-bash-shell-do-not-work
- ssh, start a specific shell, and run a command on the remote machine?
There are two options for you: modify bash settings on the server or startup your ssh command with a prefix.