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

Non interactive ssh connection



>From google I came across the request below to debian. As the issue
seems to be at the basis of my problems to execute parallel programs
since I upgraded from amd64 etch to amd64 lenny, I wonder whether
there is a described procedure to correct the issue for amd64 (i.e.,
to have .bashrc read on the remote machine when sshing "env | sort").
Other linux users are quite surprised that this does not work (in my
hands) with amd64 lenny.

thanks
francesco pietra

I have the following problem with the debian openssh package (ver.
1:4.6p1-5):

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.

I check this feature in different linux distro (archlinux, opensuse,
etc.) and generally during a non-interactive login the .bashrc file is
executed.

It is possible to disable this feature in some way also recompiling the
packages?

Best regards

Michele Vascellari


Reply to: