comparison dropbear.8 @ 569:6f472dc54da7

- Set $SSH_CONNECTION - Document environment variables in the manpage
author Matt Johnston <matt@ucc.asn.au>
date Wed, 02 Sep 2009 14:47:12 +0000
parents fe30d2a2d626
children c470649fb627
comparison
equal deleted inserted replaced
568:005530560594 569:6f472dc54da7
152 152
153 By default the file /etc/motd will be printed for any login shell (unless 153 By default the file /etc/motd will be printed for any login shell (unless
154 disabled at compile-time). This can also be disabled per-user 154 disabled at compile-time). This can also be disabled per-user
155 by creating a file ~/.hushlogin . 155 by creating a file ~/.hushlogin .
156 156
157 .SH ENVIRONMENT VARIABLES
158 Dropbear sets the standard variables USER, LOGNAME, HOME, SHELL, PATH, and TERM.
159
160 The variables below are set for sessions as appropriate.
161
162 .TP
163 .B SSH_TTY
164 This is set to the allocated TTY if a PTY was used.
165
166 .TP
167 .B SSH_CONNECTION
168 Contains "<remote_ip> <remote_port> <local_ip> <local_port>".
169
170 .TP
171 .B DISPLAY
172 Set X11 forwarding is used.
173
174 .TP
175 .B SSH_ORIGINAL_COMMAND
176 If a 'command=' authorized_keys option was used, the original command is specified
177 in this variable. If a shell was requested this is set to an empty value.
178
179 .TP
180 .B SSH_AUTH_SOCK
181 Set to a forwarded ssh-agent connection.
182
183
184
157 .SH AUTHOR 185 .SH AUTHOR
158 Matt Johnston ([email protected]). 186 Matt Johnston ([email protected]).
159 .br 187 .br
160 Gerrit Pape ([email protected]) wrote this manual page. 188 Gerrit Pape ([email protected]) wrote this manual page.
161 .SH SEE ALSO 189 .SH SEE ALSO