Lazy Linux: essential tricks for admins
1–10 of 54 posts
Re: Lazy Linux: essential tricks for admins
#2Re: Lazy Linux: essential tricks for admins
#3Re: Lazy Linux: essential tricks for admins
#4While how-to lists hardly see the light of day (the front page) on HN, I had hate to see one like this go unrecognized.
Re: Lazy Linux: essential tricks for admins
#5Man "mebibits" sounds terrible.
Re: Lazy Linux: essential tricks for admins
#6office$ ssh -R 9999:localhost:22 user@home ## do this in a screen for good measure
and another lesser known ssh feature:
home$ ssh -D 8888 -p 9999 user@localhost
and now you have a SOCKS proxy on home:8888 that will access everything visible to the computer named "office".
For extra credit add PingTunnel and a hotspot that happens to allow ICMP and enjoy free internet wherever you go.
Re: Lazy Linux: essential tricks for admins
#7My company uses trick #5 as a primary feature for accessing the remote Linux machines that our product is built upon. We have it set up so that every single machine automatically creates a reverse SSH tunnel to the server on boot, so that the tunnel is always accessible in case we need it. Very cool stuff.
Re: Lazy Linux: essential tricks for admins
#8Re: Lazy Linux: essential tricks for admins
#9 fuser -fuck /dev/whatever
http://moka.ccr.jussieu.fr/doc_link/C/a_doc_lib/cmds/aixcmds...Oh, admin humor.
Re: Lazy Linux: essential tricks for admins
#10Trick 5 (opening a remote port on a "public" machine to connect back to your local machine) is great. Combine it: office$ ssh -R 9999:localhost:22 user@home ## do this in a screen for good measure and another lesser known ssh feature: home$ ssh -D 8888 -p 9999 user@localhost and now you have a SOCKS proxy on home:8888 that will access everything visible to the computer named "office". For extra credit add PingTunnel…