diff options
author | Matt Johnston <matt@ucc.asn.au> | 2010-02-27 11:53:18 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2010-02-27 11:53:18 +0000 |
commit | ddbfdb079991e9705c8874ae2d2dbd64394f269c (patch) | |
tree | 6358929d48902659b423493edf17831541c732ac /dropbear.8 | |
parent | 85288d7b6174b78af903fb55593bccd0014e5f30 (diff) | |
parent | 3b078445482f42dabfe4922e67a958dc607b166f (diff) |
merge of '48fdaa8706d1acda35e9d564adc9a1fbc96c18c8'
and '658fd03abd21e0da7c4c89b9fff9dc693c72daae'
--HG--
extra : convert_revision : 8064882fcaa13d586651021462b9014b74332107
Diffstat (limited to 'dropbear.8')
-rw-r--r-- | dropbear.8 | 30 |
1 files changed, 29 insertions, 1 deletions
@@ -7,7 +7,7 @@ dropbear \- lightweight SSH2 server .I banner\fR] [\-d .I dsskey\fR] [\-r .I rsakey\fR] [\-p -.IR port ] +.IR [address:]port ] .SH DESCRIPTION .B dropbear is a SSH 2 server designed to be small enough to be used in small memory @@ -154,6 +154,34 @@ By default the file /etc/motd will be printed for any login shell (unless disabled at compile-time). This can also be disabled per-user by creating a file ~/.hushlogin . +.SH ENVIRONMENT VARIABLES +Dropbear sets the standard variables USER, LOGNAME, HOME, SHELL, PATH, and TERM. + +The variables below are set for sessions as appropriate. + +.TP +.B SSH_TTY +This is set to the allocated TTY if a PTY was used. + +.TP +.B SSH_CONNECTION +Contains "<remote_ip> <remote_port> <local_ip> <local_port>". + +.TP +.B DISPLAY +Set X11 forwarding is used. + +.TP +.B SSH_ORIGINAL_COMMAND +If a 'command=' authorized_keys option was used, the original command is specified +in this variable. If a shell was requested this is set to an empty value. + +.TP +.B SSH_AUTH_SOCK +Set to a forwarded ssh-agent connection. + + + .SH AUTHOR Matt Johnston (matt@ucc.asn.au). .br |