SSH and user environment
From: Chandrashekar Tippur (ctippur_at_msn.com)
Date: 20 Jun 2003 10:34:54 -0700
I have a question about ssh2 (SSH Communications Security). We
downloaded a evaluation version of commercial ssh.
On the remote node's login, we added to user's $HOME/.ssh2/environment
file couple of variables
When I login to the remote node using ssh2, I can see that the file
$HOME/.ssh2/environment is being touched but I don't have MYHOME in
the environment but I have the new PATH in the environment.
I read the man pages and it says that we need to add it to either
/etc/environment ot USER's $HOME/.ssh2/environment file.
Here is what man pages say
"Additionally, ssh2 reads /etc/environment and
$HOME/.ssh2/environment, and adds lines of the format
VARNAME=value to the environment. Some systems may have
still additional mechanisms for setting up the environment,
such as /etc/default/login on Solaris."
I am not sure what I need to do to get user defined variables in
thanks and looking forward to the answers