unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: pocmatos@gmail.com (Paulo J. Matos)
To: Daniel Pittman <daniel@rimspace.net>
Cc: help-gnu-emacs@gnu.org
Subject: Re: ERC through a gateway
Date: Thu, 29 Apr 2010 09:09:32 +0100	[thread overview]
Message-ID: <yay7hnqk7cz.fsf@alma.europe.root.pri> (raw)
In-Reply-To: <87wrvryrdz.fsf@rimspace.net> (Daniel Pittman's message of "Thu,  29 Apr 2010 11:33:12 +1000")

Daniel Pittman <daniel@rimspace.net> writes:

>
>>> (defun dp/erc-via-ssh-and-netcat (name buffer host port)
>>>   "Establish a connection via ssh and netcat on the destination host"
>>>   (let ((process-connection-type nil)
>>>         (command (list "/usr/bin/ssh" host "nc" "-q" "1" host (int-to-string port))))
>>>     (apply 'start-process name buffer command)))
>
> This uses ssh to connect to a remote machine, then tunnels TCP/IP to a remote
> system using netcat.
>

So, you end up always needing a remote machine that you can ssh to that
provides a way to do a direct tcp/ip connection, right?

-- 
PMatos




  reply	other threads:[~2010-04-29  8:09 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-27  8:59 ERC through a gateway Paulo J. Matos
2010-04-28 12:20 ` J. David Boyd
2010-04-28 13:59   ` Daniel Pittman
2010-04-28 14:47     ` J. David Boyd
2010-04-29  1:33       ` Daniel Pittman
2010-04-29  8:09         ` Paulo J. Matos [this message]
2010-04-29  9:58           ` Daniel Pittman
2010-04-30 11:58             ` J. David Boyd
2010-04-30 12:47               ` Peter Dyballa
2010-05-05 15:44                 ` J. David Boyd

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=yay7hnqk7cz.fsf@alma.europe.root.pri \
    --to=pocmatos@gmail.com \
    --cc=daniel@rimspace.net \
    --cc=help-gnu-emacs@gnu.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 read-only IMAP folder(s) and NNTP newsgroup(s).