I would like to remotely execute a .bash_profile alias, but I cannot find the proper command.
I tried:
ssh user@host "bash -ic myalias"
but it doesn't work
I get:
bash: cannot set terminal process group (-1): Invalid argument
bash: no job control in this shell
bash: myalias: command not found
myalias: command not found
. Have you made the alias!?