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 ?