All Questions
1
question
4
votes
2
answers
3k
views
Why some commands don't load user environment when executed with ssh? (while other do)
On a target machine (OS X El Capitan) I have brew in /usr/local/bin. When I try to get brew's path I get no result:
# ssh [email protected] -p 2222 which brew
#
Troubleshooting:
brew is in /usr/...