Linked by Amjith Ramanujam on Wed 23rd Jul 2008 16:34 UTC, submitted by LinucksGirl
Linux In this article, learn how to be a more productive Linux systems administrator. These 10 essential tricks will lead you on your way to being one powerful Linux systems administrator. Learn about SSH tunnels, VNC, password recovery, console spying, and more. Examples accompany each trick, so you can duplicate them on your own systems.
Permalink for comment 324234
To read all comments associated with this story, please click here.
RE: Trick #5
by shapeshifter on Wed 23rd Jul 2008 19:01 UTC in reply to "Trick #5"
Member since:

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

..and then this on 'blackbox':
while [ 1 ]; do date; sleep 300; done

A better alternative would be:
ssh -Nn -T -R 2222:localhost:22

Read the man page to learn what they do.. ;)

No, it's a Ubuntu trick.
I know because I saw it a while back on Ubuntu forum.
Pretty sure it was before I saw it anywhere else.

Reply Parent Score: 3