Am doing remote ssh connection to one box like below and executing the command.
ssh <userid>@<hostname>
While executing the scripts the values defined in .profile not loaded properly.
But if we login directly in that box it is working fine.
Could anyone pls help on this ?
sshd
or.bashrc
. Take a look at https://unix.stackexchange.com/a/79783/181255 and compare your old.bashrc
s with the new one. There may be a fix in them. Also you can add more details in your question about the old OS's that do work and the new one that doesn't. Someone might be able to know and point at the difference. The waysshd
was compiled might have a difference too. – May 18 '17 at 15:19