New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
SSH variables not getting updated in OpenVZ
On connecting to a ssh server some environment variables should get set for the session.
Here is an example set -
SSH_CLIENT=192.168.25.198 4671 22 SSH_TTY=/dev/pts/11 SSH_AUTH_SOCK=/tmp/ssh-zIn16635/agent.16635 SSH_CONNECTION=192.168.25.198 4671 192.168.25.3 22
I am not getting this on an openvz based VPS. This problem does not exist on a full-virtualized VPS with same Linux distro.
Do you have the same experience? Any idea?
Comments
What are you running on the vps for ssh? Is it the one that comes with the distro or did you replace it with dropbear?
You got it right!
I have executed the LEB script sometime back. Going to change the ssh server now.
Thanks a lot for the help.
Not a problem.
I gather dropbear doesn't allow for environment variables? that's what I was wondering.
According to Dropbear's CHANGELOG,
You'll have to wait until Debian wheezy or Ubuntu 11.10 to get Dropbear 0.53. Sorry not too sure about other distributions.
The dropbear version that gets installed with LES is 0.52. (At least on mine.) That's probably the issue then.
Thanks for digging all these out. I was using Dropbear 0.52-5 on Squeeze.