Networking Forums

Networking Forums > Computer Networking > Linux Networking > SSH and tun devices: which one?

Reply
Thread Tools Display Modes

SSH and tun devices: which one?

 
 
Andrew Gideon
Guest
Posts: n/a

 
      03-24-2008, 05:29 PM
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
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Other Devices John Park Broadband 1 12-09-2010 10:38 PM
How many devices can I use with a Homeplug? Zach Wireless Internet 6 07-10-2008 08:26 AM
Do I need 3 devices ? steve Network Routers 8 12-11-2006 01:02 PM
2 MN-700 devices Pearl Wireless Networks 0 07-25-2005 11:47 PM
Network Devices Ryan Broadband Hardware 0 07-20-2004 04:22 AM



1 2 3 4 5 6 7 8 9 10 11