/ domm

I hack Perl for fun and
profit.

Follow me on twitter!
Atom Icom ... on Atom!
<<<<<<<<<<
06.09.2006: Post-YAPC::Europe CPANTS news
04.09.2006: YAPC::Europe Day 3 (and journey back home)
01.09.2006: YAPC::Europe Day 2
31.08.2006: YAPC::Europe Day 1 (and a bit of day 2)
31.08.2006: YAPC::Europe Day 1 (and a bit of day 2)
30.08.2006: YAPC::Europe Day 0 & 1
28.08.2006: [yapceu2006] CPANTS hackathon
04.08.2006: set current working directory as a screen name
02.08.2006: howto setup an ssh tunnel

As I constantly forget how to do this (and as our $work firewall doesn't allow access to my svn repo running at port 1000 (don't ask!), I (mis)use this to remind myself:

ssh -l domm -L 8888:TARGET_HOST:1000 TARGET_HOST

To connect to TARGET_HOST:1000 via localhost:8888

Original: http://use.perl.org/~domm/journal/30511

Legacy comments

Dom2: Gets Better With Squid (orignal post)

the ssh tunnels get even better if you have a local squid running at home. Then, you can set up a tunnel to your squid at home, point your browser at it, and get at all the private stuff on your home web...

  ssh -L 3128:localhost:3128 me@my.home.server

-Dom

chromatic: Who Has Time To Remember? (orignal post)

This is what shell aliases are for. I solved that problem once, then automated it away. :)

domm: Re:Who Has Time To Remember? (orignal post)

good idea. done.

grantm: Two more thoughts (orignal post)

Along similar lines to chromatic's suggestion of using a shell alias, if you're running a GNOME desktop (and all the cool kids seem to be these days) then you could use my SSHMenu [mclean.net.nz] to define SSH connections using a GUI.

Also, if you have SSH access to the box where the SVN repository lives, then you don't need to have an SVN server listening on a port and you don't need forwarding either. Just use svnserve over ssh [perl.org].

Comments (via disqus)

21.07.2006: lumbago; cpants; holidays
>>>>>>>>>>