From owner-freebsd-questions@FreeBSD.ORG Wed Apr 11 14:32:05 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 496AF1065670 for ; Wed, 11 Apr 2012 14:32:05 +0000 (UTC) (envelope-from andrewlylegould@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id F3B9B8FC0C for ; Wed, 11 Apr 2012 14:32:04 +0000 (UTC) Received: by vcmm1 with SMTP id m1so895642vcm.13 for ; Wed, 11 Apr 2012 07:31:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=//S0wP8D/eonSkN8FQD6fTNIdTNak00IMWg5OThWM18=; b=GJHq0zQUabmylxZno18Lpcuvs4urFciNKCETs+YfMPY6kSNvY/Ug/HSd5WnE06YosZ N2dHWQWs1IMGR7zoN7heE2m2ThrxF+rz/taZ/HDf1/geqUk3ohfqWc4P+NUVm62YJkS/ qlwK5JLPpdKztQr5H9RrYyhA+Nj/w0m7kRx8wUqiQZUmn6utYC078bOzPalk2YmYFakj J3QbEoHE4ZJfwumbETVC/UuSTBRCiU2bB05aeq2iSr8SP9dBQwOoUCJDtUVDUVfcLOh0 qcmV47yISfQORXYppb4oaGwdFepihpa3m9axdrAEW+k9bsQ5pR0GMpDLiCnRRMvdb/x4 O7ig== MIME-Version: 1.0 Received: by 10.220.153.8 with SMTP id i8mr7803387vcw.73.1334154718017; Wed, 11 Apr 2012 07:31:58 -0700 (PDT) Received: by 10.220.2.145 with HTTP; Wed, 11 Apr 2012 07:31:57 -0700 (PDT) In-Reply-To: <201204111454.54957.jmc-freebsd2@milibyte.co.uk> References: <4F857029.25481.F2968A@dave.g8kbv.demon.co.uk> <201204111454.54957.jmc-freebsd2@milibyte.co.uk> Date: Wed, 11 Apr 2012 09:31:57 -0500 Message-ID: From: Andrew Gould To: Mike Clarke Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org, Dave B Subject: Re: FTP oddness, over SSH session. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Apr 2012 14:32:05 -0000 On Wed, Apr 11, 2012 at 8:54 AM, Mike Clarke wrote: > On Wednesday 11 April 2012, Dave B wrote: > >> I just found however, that though I can reliably send a file to the >> FTP server and it get's saved just fine, that's not true when >> connecting this way using a SSH tunnel. > > Would it not be simpler just to use sftp directly rather than tunnelling > ftp through ssh? > > -- > Mike Clarke Using sftp or scp is not just simpler in configuration, it has the added benefit of being supported by cool gui applications (filezilla, winscp, etc) that are available for multiple operating systems. The only configuration change I make is to change the port used by ssh. That simple change eliminated most of the hacker attempts found in various logs (failed logins, etc). Andrew