Tramp using ssh does not source .bash_profile / .profile <p>I'm using Aquamacs (graphical emacs for OSX using emacs 24 and tramp version 2.2.3) to edit some files on a remote server. Tramp is set up to use <strong>ssh</strong> and works fine in terms of editing files. </p> <p>It fails when it comes to compiling because the compiler is not in the path. It seems like tramp does not source any of the profile files like <strong>.profile</strong> or <strong>.bash_profile</strong>. /bin/sh is a link to /bin/bash so bash should be the shell used by tramp. A shell started within emacs on the remote server won't source anything, too. A ssh connection from a regular terminal emulator (tried <em>Terminal</em> and <em>X11</em> on OS X) works as expected (everything sourced correctly).</p> <p>Any ideas?</p>