[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ERC through a gateway

From: Paulo J. Matos
Subject: Re: ERC through a gateway
Date: Thu, 29 Apr 2010 09:09:32 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Daniel Pittman <> 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?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]