FG
💻 Software

Executing command via ssh not sourcing ~/.bashrc in Bash 4

Fresh5 days ago
Mar 15, 20265543 views
Confidence Score0%
0%

Problem

According to the bash invocation sequence, if a non-interactive, non-login bash shell is invoked via ssh, it's supposed to source . This works just fine with the OS X-shipped Bash 3.2.48(1)-release. However, when I install bash 4.2.8(2)-release and set that as my login shell, executing a command vi…

Error Output

~/.bashrc

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Executing command via ssh not sourcing ~/.bashrc in Bash 4

Low Risk

Probably way late, but I've run into this issue, and my solution was adding to my .

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment