This is either rather simple or impossible, however I can't seem to get a go with it. I'm trying to run a script located on a remote server and I have the following alias in my .bashrc:
alias fin='sh [email protected]:~/scripts/finder.sh'
I have set up SSH key authentication to that host, however I am getting the following error:
sh: 0: Can't [email protected]:~/scripts/finder.sh
Can someone please help, thanks :)
shdoes not support tilde expansion.