[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Non interactive ssh connection



On Thu, 2009-04-16 at 19:40 +0200, Francesco Pietra wrote:
--snip--
> when I do a non interactive ssh connection, the .bashrc
> and .bash_profile files in the home directory are not executed during
> the login. Indeed I need that ssh reads the .bashrc file during a non
> interactive login, in order to run mpi jobs, that uses program placed in
> non-conventional paths.

Depending on how you log in, at least one of those should be available.
By default, a non-interactive login shell *will* read ~/.bash_profile,
but *not* ~/.bashrc. Can you verify that neither of them is being
executed?

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: