How to pass environment variable through jump server?
How can I forward env variables over ssh in Ezeelogin?
1. Add environment variable to Ezeelogin GUI > settings > General > Security > Passthrough Environment Variables
2. Allow environment variable in /etc/ssh/sshd_config of Ezeelogin installed gateway server & the remote server
root@bastion :~# vi /etc/ssh/sshd_config
AcceptEnv java_home
Restart ssh service
root@bastion :~# service ssh restart
3. Add the environment variables to the /etc/ssh/ssh_config as follows to your desktop machine or from the machine you need to forward the environment variable .
root@desktop:~# vi /etc/ssh/ssh_config
SendEnv java_home
Refer to the article to view the client username and IP in the remote server