[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Sat May 1 15:35:47 2004 -->
- <!--x-from-r13: fpureerl ng cebgrhf-grpu.pbz (Prawnzva Epureerl) -->
- <!--x-message-id: UO97QP2X4ZOM2VVPPK0ICNKIB072QN.4093fb62@bonzo -->
- <!--x-reference: 20040429221727.5c9d70bb@media --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] Quick tutorial on ssh port forwarding my mail? -->
- <li><em>date</em>: Sat May 1 15:35:47 2004</li>
- <li><em>from</em>: scherrey at proteus-tech.com (Benjamin Scherrey)</li>
- <li><em>in-reply-to</em>: <20040429221727.5c9d70bb@media></li>
- <li><em>subject</em>: [ale] Quick tutorial on ssh port forwarding my mail?</li>
Many thanx. SSH is so elegant and cool sometimes it's hard to imagine. Worked first time!
Ben Scherrey
4/29/2004 10:17:27 PM, Robert Story <rstory-l at revelstone.com> wrote:
>On Thu, 29 Apr 2004 17:09:44 -0400 Benjamin wrote:
>BS> In light of this, and other potential security issues, it seems
>BS> that using the ssh port forwarding features might be a good solution for
>BS> me. Is it?
>
>That's what I do. Here's a snippet from my .ssh/config:
>
>--- cut here ---
>#
>Host host-tunnel
>HostName hosting.example.com
>User myid
>KeepAlive yes
>LocalForward 42143 localhost:143
>LocalForward 42110 localhost:110
>LocalForward 42025 localhost:25
>--- cut here ---
>
>Then I set up my mail client to pop/imap from localhost:[42110|42143], and set
>my mail server to localhost 42025. The high port numbers are arbitrary. I just
>prefix the normal numbers with '42', which is easy for me to remember.
>
>The second part of the forward lines will be resolved on the *remote* host, no
>your localhost. So if you are ssh'ing into a corporate net, you can use local
>names.
>
>
>The other option, is to set your home mail server to use a smart-relay, i.e.
>forward mail to your ISP's mail server.
>_______________________________________________
>Ale mailing list
>Ale at ale.org
><a rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale">http://www.ale.org/mailman/listinfo/ale</a>
>
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00017.html">[ale] Suse Community Purchase - Update</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00019.html">[ale] Clear BIOS Password - Dell Optiplex?</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00037.html">[ale] Suse Community Purchase - Update</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00019.html">[ale] Clear BIOS Password - Dell Optiplex?</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00018"><strong>Date</strong></a></li>
<li><a href="threads.html#00018"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>