search for: ssh_profile

Displaying 1 result from an estimated 1 matches for "ssh_profile".

Did you mean: bash_profile
2009 Dec 01
3
How to modify environment variables before executing a command
Hi, I'd like to access and modify shell environment variables before executing a command on a remote host via ssh. Unfortenatly, I can't figure out the proper way to do this... It seems, standard shell configuration files (e.g. ~/.bash_profile) are not sourced before ssh executes a command. Of course I could explicitly source them, e.g. ssh user at host 'source ~/.bash_profile;