I'm working with lots of remote machines via ssh. My need is to have a common .profile (or an alias for ssh or anything else) to use with all the ssh sessions, because changing it in every machine (which I should never re-login in) it is a really waste of time.
Is there the possibility?
I've read that I can set "PermitUserEnvironment" so that I can set my own "VAR=VALUE", but what about custom scripts? For example I'd like to execute something like "set -o vi"...