How to use/run bash aliases over ssh based session

Originally published at: https://www.cyberciti.biz/faq/use-bash-aliases-ssh-based-session/

I have set up a bash alias named file_repl. It works entirely when I log in using ssh command. However, my bash aliases are not running over ssh, for example:
$ ssh vivek@server1.cyberciti.biz file_repl
bash: file_repl: command not found

How do I run bash shell aliases when I use ssh command?