diff options
author | djm@openbsd.org <djm@openbsd.org> | 2017-10-23 05:08:00 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2017-10-23 16:14:30 +1100 |
commit | b7548b12a6b2b4abf4d057192c353147e0abba08 (patch) | |
tree | dc76477cd371b6197ba840c3a178bfbcf6d7baba /ssh.1 | |
parent | 887669ef032d63cf07f53cada216fa8a0c9a7d72 (diff) |
upstream commit
Expose devices allocated for tun/tap forwarding.
At the client, the device may be obtained from a new %T expansion
for LocalCommand.
At the server, the allocated devices will be listed in a
SSH_TUNNEL variable exposed to the environment of any user sessions
started after the tunnel forwarding was established.
ok markus
Upstream-ID: e61e53f8ae80566e9ddc0d67a5df5bdf2f3c9f9e
Diffstat (limited to 'ssh.1')
-rw-r--r-- | ssh.1 | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -33,8 +33,8 @@ | |||
33 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 33 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
34 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 34 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
35 | .\" | 35 | .\" |
36 | .\" $OpenBSD: ssh.1,v 1.386 2017/10/21 23:06:24 millert Exp $ | 36 | .\" $OpenBSD: ssh.1,v 1.387 2017/10/23 05:08:00 djm Exp $ |
37 | .Dd $Mdocdate: October 21 2017 $ | 37 | .Dd $Mdocdate: October 23 2017 $ |
38 | .Dt SSH 1 | 38 | .Dt SSH 1 |
39 | .Os | 39 | .Os |
40 | .Sh NAME | 40 | .Sh NAME |
@@ -1395,6 +1395,11 @@ This is set to the name of the tty (path to the device) associated | |||
1395 | with the current shell or command. | 1395 | with the current shell or command. |
1396 | If the current session has no tty, | 1396 | If the current session has no tty, |
1397 | this variable is not set. | 1397 | this variable is not set. |
1398 | .It Ev SSH_TUNNEL | ||
1399 | Optionally set by | ||
1400 | .Xr sshd 8 | ||
1401 | to contain the interface names assigned if tunnel forwarding was | ||
1402 | requested by the client. | ||
1398 | .It Ev SSH_USER_AUTH | 1403 | .It Ev SSH_USER_AUTH |
1399 | Optionally set by | 1404 | Optionally set by |
1400 | .Xr sshd 8 , | 1405 | .Xr sshd 8 , |