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

Re: Non interactive ssh connection



Francesco Pietra:
> 
> 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.

Check the default shell of the user in /etc/passwd. Only bash reads
.bash_profile. Renaming it to .profile might help (if it doesn't contain
bashims).

J.
-- 
It is not in my power to change anything.
[Agree]   [Disagree]
                 <http://www.slowlydownward.com/NODATA/data_enter2.html>

Attachment: signature.asc
Description: Digital signature


Reply to: