Bash.rc And Environment Variables Not Loading On SSH

Posted By Weston Ganger

I was having some issues with my .bashrc file not being loaded when SSHing.

To fix it add this to the beginning of your .profile file.

# ~/.bashrc

# PLACE YOUR ENVIRONMENT VARIABLES HERE

# If not running interactively, don't do anything
[ -z "$PS1" ] && return

Related External Links:

Article Topic:Software Development - Linux

Date:May 31, 2015