From owner-freebsd-questions@FreeBSD.ORG Mon Sep 13 21:12:47 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9475F16A4CF for ; Mon, 13 Sep 2004 21:12:47 +0000 (GMT) Received: from ptb-relay03.plus.net (ptb-relay03.plus.net [212.159.14.214]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4EF1343D1F for ; Mon, 13 Sep 2004 21:12:47 +0000 (GMT) (envelope-from marko@freebsd.org) Received: from [80.229.231.20] (helo=[192.168.254.25]) by ptb-relay03.plus.net with esmtp (Exim) id 1C6y7y-000BI1-Ks for freebsd-questions@freebsd.org; Mon, 13 Sep 2004 21:12:46 +0000 Message-ID: <41460E03.8020408@freebsd.org> Date: Mon, 13 Sep 2004 22:15:47 +0100 From: Mark Ovens User-Agent: Mozilla Thunderbird 7.0 (X11/20040827) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Quick and simple ssh(1) question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Sep 2004 21:12:47 -0000 Is it correct that you can't ssh(1) between two machines on the same LAN (using NAT) _via the Internet?_ Strange question I know, but I need to be able to access one of my machines, postie, remotely. I've got sshd(8) running and can ssh(1) to it from a local machine using it's local hostname. However, since I only have a single 'net connection here I tried to test connecting remotely by ssh(1)'ing to my router's 'net-facing hostname but I get ssh: connect to host port 22: Connection refused Port 22 is forwarded to postie on the router. It kind of make sense to me that this won't work but I'd like to confirm that this is the case and it's not my sshd(8) configuration that's wrong. Thanks. Regards, Mark