Linked by Amjith Ramanujam on Wed 23rd Jul 2008 16:34 UTC, submitted by LinucksGirl

Permalink for comment 324214
To read all comments associated with this story, please click here.
To read all comments associated with this story, please click here.
Member since:
2007-03-14
It's not a "Linux trick", it's a documented OpenSSH feature that works on any supported system.

He could have saved a step as well...
His first command on 'ginger' was:
ssh -R 2222:localhost:22 thedude@blackbox.example.com
..and then this on 'blackbox':
while [ 1 ]; do date; sleep 300; done
A better alternative would be:
ssh -Nn -T -R 2222:localhost:22 thedude@blackbox.example.com
Read the man page to learn what they do..