version 1.187, 2002/08/02 16:00:07 |
version 1.188, 2002/08/12 17:30:35 |
|
|
Reads |
Reads |
.Pa $HOME/.ssh/environment |
.Pa $HOME/.ssh/environment |
if it exists and users are allowed to change their environment. |
if it exists and users are allowed to change their environment. |
See |
See the |
.Cm PermitUserEnvironment |
.Cm PermitUserEnvironment |
in |
option in |
.Xr sshd_config 5 . |
.Xr sshd_config 5 . |
.It |
.It |
Changes to user's home directory. |
Changes to user's home directory. |
|
|
Environment variables set this way |
Environment variables set this way |
override other default environment values. |
override other default environment values. |
Multiple options of this type are permitted. |
Multiple options of this type are permitted. |
|
Environment processing is disabled by default and is |
|
controlled via the |
|
.Cm PermitUserEnvironment |
|
option. |
This option is automatically disabled if |
This option is automatically disabled if |
.Cm UseLogin |
.Cm UseLogin |
is enabled. |
is enabled. |
|
|
and assignment lines of the form name=value. |
and assignment lines of the form name=value. |
The file should be writable |
The file should be writable |
only by the user; it need not be readable by anyone else. |
only by the user; it need not be readable by anyone else. |
|
Environment processing is disabled by default and is |
|
controlled via the |
|
.Cm PermitUserEnvironment |
|
option. |
.It Pa $HOME/.ssh/rc |
.It Pa $HOME/.ssh/rc |
If this file exists, it is run with /bin/sh after reading the |
If this file exists, it is run with /bin/sh after reading the |
environment files but before starting the user's shell or command. |
environment files but before starting the user's shell or command. |