SSH and tun devices: which one?
- From: Andrew Gideon <c172driver1@xxxxxxxxxx>
- Date: Mon, 24 Mar 2008 18:29:01 +0000 (UTC)
Is there some way to determine the id of a tun device allocated by ssh on
the server side when the -w option is used? I'd hoped for a nice easy
environment variable, but no such luck.
I do note that an "lsof -p $PPID | fgrep /dev/net/tun" identifies the
open file descriptor. But I've not yet found a way to map this to the
tun device.
I know that the device can be *specified* with the -w option, but I'm
hoping to avoid having to "preallocate" devices to users.
Any suggestions?
Thanks...Andrew
.
- Prev by Date: Re: Which option to enable during kernel setup for the NICs?
- Next by Date: utility that walks through hostname lookup? (free alt to DNSStuff.com?)
- Previous by thread: Which option to enable during kernel setup for the NICs?
- Next by thread: utility that walks through hostname lookup? (free alt to DNSStuff.com?)
- Index(es):
Relevant Pages
|