Bug 2153

Summary: ~/.profile not sourced anymore after upgrade to 6.2p1
Product: Portable OpenSSH Reporter: reen
Component: sshdAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED WORKSFORME    
Severity: minor CC: djm, dtucker
Priority: P5    
Version: 6.2p1   
Hardware: amd64   
OS: Linux   

Description reen 2013-09-18 22:14:17 AEST
On a RHEL5 System with openssh-5.3p1-84.1.el6.x86_64 I defined the variable BLA in ~/.profile:

export BLA=hello
Then I run the following:

# ssh localhost 'echo $BLA'
# hello
I see that the variable BLA is defined.

When I compile openssh-6.2p2 from source and I use the same ssh configuration files, the variable is not defined anymore:

 # ssh localhost 'echo $BLA'
 #

And the variable is not set. Is this a Bug?

BR, Reen
Comment 1 Darren Tucker 2013-09-19 10:55:14 AEST
probably not, since those files are read by the shell not sshd.  maybe something causes the shell to behave differently, though.

what shell are you using?  what options did you build openssh with?
Comment 2 Damien Miller 2014-07-03 14:49:19 AEST
9 months with no reply == no bug.
Comment 3 Damien Miller 2015-08-11 23:02:33 AEST
Set all RESOLVED bugs to CLOSED with release of OpenSSH 7.1