Skip to Content

How to pass environment variable through jump server?

How can I forward env variables over ssh in ezeelogin?


i. Add environment variable to Ezeelogin gui  > settings > General > Security > Passthrough Environment Variables

env variables

ii. Allow  environment variable in /etc/ssh/sshd_config of  ezeelogin installed gateway server & the remote server

[email protected] :~# vi /etc/ssh/sshd_config 

 AcceptEnv {Passthrough Environment Variables}

Restart ssh service

[email protected] :~# service ssh restart