version 1.232, 2005/12/31 10:46:17 |
version 1.233, 2005/12/31 13:44:04 |
|
|
It is automatically set by |
It is automatically set by |
.Nm |
.Nm |
to point to a value of the form |
to point to a value of the form |
.Dq hostname:n |
.Dq hostname:n , |
where hostname indicates |
where |
the host where the shell runs, and n is an integer \*(Ge 1. |
.Dq hostname |
|
indicates the host where the shell runs, and |
|
.Sq n |
|
is an integer \*(Ge 1. |
.Nm |
.Nm |
uses this special value to forward X11 connections over the secure |
uses this special value to forward X11 connections over the secure |
channel. |
channel. |
|
|
.Pa /dev/null |
.Pa /dev/null |
to make this work.) |
to make this work.) |
.It Ev SSH_AUTH_SOCK |
.It Ev SSH_AUTH_SOCK |
Identifies the path of a unix-domain socket used to communicate with the |
Identifies the path of a |
agent. |
.Ux Ns -domain |
|
socket used to communicate with the agent. |
.It Ev SSH_CONNECTION |
.It Ev SSH_CONNECTION |
Identifies the client and server ends of the connection. |
Identifies the client and server ends of the connection. |
The variable contains |
The variable contains |
four space-separated values: client ip-address, client port number, |
four space-separated values: client IP address, client port number, |
server ip-address and server port number. |
server IP address, and server port number. |
.It Ev SSH_ORIGINAL_COMMAND |
.It Ev SSH_ORIGINAL_COMMAND |
The variable contains the original command line if a forced command |
This variable contains the original command line if a forced command |
is executed. |
is executed. |
It can be used to extract the original arguments. |
It can be used to extract the original arguments. |
.It Ev SSH_TTY |
.It Ev SSH_TTY |
|
|
.Pa ~/.ssh/environment , |
.Pa ~/.ssh/environment , |
and adds lines of the format |
and adds lines of the format |
.Dq VARNAME=value |
.Dq VARNAME=value |
to the environment if the file exists and if users are allowed to |
to the environment if the file exists and users are allowed to |
change their environment. |
change their environment. |
For more information, see the |
For more information, see the |
.Cm PermitUserEnvironment |
.Cm PermitUserEnvironment |