You have got few possibilities:
- Set the
PATHinon the server in~/.ssh/environment(needs to be enabled byPermitUserEnvironment yesinsshd_config). - Use full path to the binary
- As you mentioned, manually source
.bashrc: prefix the command with. ~/.bashrc(orsource)
It pretty much depends on the use case, which way you will go.