How to use sshd_config - PermitUserEnvironment option
Solution 1:
and created a file environment under ssh with following entry Hi=Hello
You should create the file /root/.ssh/environment on client2, assuming that /root is the home directory of root.