Inside ~/.ssh/config
file I have this
Host <serverAlias>
HostName 127.0.0.1 #Server IP
User <username>
PreferredAuthentications publickey
IdentityFile ~/.ssh/id_rsa
Inside ~/.bashrc
I have this alias alias runcomman="ls -al"
In my terminal I want to type ssh <serverAlias> <something>
to ssh into the server & run the alias on the server, so how can I do this?