I have added file with
How to restart
ssh now, so this change will be reflected.
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.Sign up to join this community
~/.ssh/environment is read at login time. Just open another session after you have changed the file. If it is not working then you need to add into your sshd_config the following line:
then restart sshd. To restart ssh you either have a ascript in /etc/init.d or you have
You can also add your environment variables to
~/.login file. And if your default shell is bash you can add them to