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.
Thread beginning with comment 324214
To read all comments associated with this story, please click here.
Trick #5
by BSDfan on Wed 23rd Jul 2008 17:24 UTC
BSDfan
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.. ;)

Reply Score: 4

RE: Trick #5
by shapeshifter on Wed 23rd Jul 2008 19:01 in reply to "Trick #5"
shapeshifter Member since:
2006-09-19

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.. ;)


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

RE[2]: Trick #5
by nbensa on Thu 24th Jul 2008 00:28 in reply to "RE: Trick #5"
nbensa Member since:
2005-08-29


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.


Oh! C'mon!!!! Ubuntu hasn't invented anything! And the latest version sucks big time.

Reply Parent Score: 1

RE: Trick #5
by jhoo on Thu 24th Jul 2008 14:51 in reply to "Trick #5"
jhoo Member since:
2006-03-24

It's not a "Linux trick", it's a documented OpenSSH feature that works on any supported system.

No one ever said it it was a "Linux trick", these are "tricks for Linux admins" the fact that it is applicable to other OSes doesn't make it any less applicable to Linux, likewise the fact that it is documented doesn't make it any less of a "trick". Many items on the list aren't specific to Linux and all of them are documented somewhere.

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


I think that was the second point in his conclusion.

Reply Parent Score: 2