Gnus development mailing list
 help / color / mirror / Atom feed
From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann)
Cc: ding@gnus.org
Subject: Re: smtp - can it be ssh tunneled?
Date: 19 Dec 2000 22:49:55 +0100	[thread overview]
Message-ID: <vaf4s00nksc.fsf@lucy.cs.uni-dortmund.de> (raw)
In-Reply-To: <m2n1dsuouw.fsf@gnus-5.8.8-cvs.now.playing>

I think you could try this:

ssh -f -L 25:smtp.newsguy.com:25 ssh.access.newsguy.com sleep 3600

Then doing "telnet localhost 25" (on your home machine) would connect
you to smtp.newsguy.com, but smtp.newsguy.com would think you're
coming from ssh.access.newsguy.com.

You might have to do that ssh command as root.  Hm.  Maybe it's safer
to replace the first 25 with 10025 or something, and then tell
smtpmail.el that you want to connect to host localhost, port 10025.
Then you wouldn't have to do the ssh command as root.

(Once you have connected, the tunnel stays open as long as the
connection stays open.  You have 3600 seconds to connect.)

kai
-- 
A large number of young women don't trust men with beards.  (BFBS Radio)



  parent reply	other threads:[~2000-12-19 21:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-19 20:40 Harry Putnam
2000-12-19 21:45 ` Kevin Falcone
2000-12-19 22:54   ` Harry Putnam
2000-12-19 21:49 ` Kai Großjohann [this message]
2000-12-20  0:37   ` Jack Twilley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=vaf4s00nksc.fsf@lucy.cs.uni-dortmund.de \
    --to=kai.grossjohann@cs.uni-dortmund.de \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).