Can someone help me spot whatThe problem seems to be in my aliases files. I have two aliases files:
.aliases
.aliases.local
.aliases is loaded, and within that there is the following command to load .aliases.local:
[[ -f ~/.aliases.local ]] && source ~/.aliases.local
Within my .aliases.local file I have the two following aliases:
alias server='ssh -p xxx [email protected]'
alias do='ssh -L xxxx:127.0.0.1:xxxx -N -f -l user -p xxxx xx.xx.xxx.xxx'
These are basically aliases to ssh into my server (the first alias), and also to establish a secure tunnel so I can use a VNC client to the server.
These two aliases are working correctly, but when I define them in .aliases.local, I keep getting this error. What am I doing wrong?