On Thu, Apr 15, 1999 at 02:29:58PM -0500, christ wrote:
> >with netscape? how is that done? Is this a netscape option or something that
> >happens with the tcp socket? (I assume this isn't the ssl option for sending
>
> since you asked =)
>
> ssh -f -L 110:server:110 username@server sleep 99999999
Hmm... shouldn't this look like:
ssh -f -L 110:localhost:110 username@server sleep 99999999
^^^^^^^^^
The way I understood it, the name between the colons is the
hostname used at the remote end of the encrypted tunnel to make
the connection to the pop server. I'm sure your solution is at
least almost always fine, because the kernel's networking code on
the server should almost certainly be smart enough to use
internal sockets rathern than making the connection to itself
over the LAN (or maybe the network card would be smart enough,
too), but I'm not certain that all OSs running POP servers out
there are that smart. So I take the paranoid approach and give
it a better hint that it should use internal sockets, by telling
it to use "localhost" at the remote end.
I could be confused on exactly how ssh uses the name between the
colons, but I know that it works when you give it "localhost".
Oh, one last thing. If you don't have root privileges, you can
run it as a normal user, if you just pick a different local port.
Something like:
ssh -f -L 10110:localhost:110 username@server sleep 99999999
I don't know whether it's possible to tell Netscape to pop mail
from a different port (localhost:10110) or not. If not, you'd
have to use fetchmail to fetch your mail. But then you could
still read it in Netscape if you like.
later,
- rick
--
Richard Kilgore | [EMAIL PROTECTED]
Electrical & Computer Engineering | http://lore.ece.utexas.edu/~rkilgore/
The University of Texas at Austin | (512) 471-8011
---------------------------------------------------------------------------
Send administrative requests to [EMAIL PROTECTED]