Sourcing local .bashrc .vimrc without copy to remote machine

Posted by David Strejc on Super User See other posts from Super User or by David Strejc
Published on 2014-01-28T10:09:07Z Indexed on 2014/06/04 15:31 UTC
Read the original article Hit count: 320

Filed under:
|

Does anyone have an idea or hack on how to source my local dotfiles (I will probably need more of them so this solution should work with many files) on remote machines without scp them to remote machine?

Is something like scp .bashrc to /tmp folder on remote machine and then exporting BASHRC env variable the best solution?

I need this because of our company policy and fast cloud servers deployment and redeployment and I don't want to touch .bashrc files on remote machine so my colleges are able to use their default env which doesn't suit me.

© Super User or respective owner

Related posts about ssh

Related posts about bashrc