Martin DiViaio on 5 Mar 2004 04:05:03 -0000 |
[...] On the 4th day of March in the year 2004 you wrote: > Date: Thu, 4 Mar 2004 12:44:50 -0500 > From: gabriel rosenkoetter <gr@eclipsed.net> > To: plug@lists.phillylinux.org > Subject: Re: [PLUG] Weird Bash Question > > On Thu, Mar 04, 2004 at 11:37:33AM -0500, Martin DiViaio wrote: > > ssh -2 -x -f -C -L 3389:windows_server_at_work:3389 martin@linux_box_at_work sleep 1 > > So have the script start at whatever (3389 would be fine) and an an > offset from a file in your home directory. Then increment the > integer in the file. (Probably want to do some sanity checking on > the file... like, that it's not a sym link to /etc/passwd, for > instance.) > > You should also probably echo what local port you used to the > terminal. > > I see how you got where you were, but you may have noticed that it > was kind of difficult to do it the way you were trying to. That's > because it's the Hard Way. :^> Thanks, I didn't think of that idea. ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|