Bug 2153 - ~/.profile not sourced anymore after upgrade to 6.2p1
Summary: ~/.profile not sourced anymore after upgrade to 6.2p1
Status: CLOSED WORKSFORME
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: sshd (show other bugs)
Version: 6.2p1
Hardware: amd64 Linux
: P5 minor
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-18 22:14 AEST by reen
Modified: 2015-08-11 23:02 AEST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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