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
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?
9 months with no reply == no bug.
Set all RESOLVED bugs to CLOSED with release of OpenSSH 7.1