From owner-freebsd-questions Tue Jun 11 20:50:47 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx2.licentia.net (24-196-96-227.jvl.wi.charter.com [24.196.96.227]) by hub.freebsd.org (Postfix) with SMTP id F28E937B40D for ; Tue, 11 Jun 2002 20:50:42 -0700 (PDT) Received: (qmail 23461 invoked from network); 12 Jun 2002 03:50:42 -0000 Received: from unknown (HELO stevenfettig.com) (10.6.18.1) by mx2.licentia.net with SMTP; 12 Jun 2002 03:50:42 -0000 Message-ID: <3D06C45A.6090205@stevenfettig.com> Date: Tue, 11 Jun 2002 22:47:38 -0500 From: Steve Fettig User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0rc3) Gecko/20020606 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Justin P. Michel" Cc: freebsd-questions@freebsd.org Subject: Re: Secure FTP References: <048d01c211ad$2cf2cfc0$7f0ea8c0@sol> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Justin P. Michel wrote: >Greetings, > >Can someone direct me to a program that I can use as a secure FTP daemon? I >would like to use a feature on my ftp program called - SFTP (SSH2) - >allowing public-key access, but I have no idea what steps are needed to >configure the server end of things. > >Regards, > >Justin P. Michel >|- J Continuum >|- 21071 - 640 River Street >|- Thunder Bay, Ontario, Canada >|- P7A 8A7 >|- (807) 344-9623 > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message > > Which OS are you trying to go from -- i.e. fbsd to Windows, fbsd to fbsd...? If you want to secure ftp to another machine from your BSD machine, simply use sftp - it should have been installed with the default installation. For example: sftp username@machineIP --> sftp gonzo@192.168.55.2 You will be prompted for the password and then will have a normal "ftp" session - only secure/encrypted. Check 'man sftp' for more options or go to www.freebsd.org and check out the html man pages. On the server end of things, as long as ssh is enabled on your machine, then sftp will work (at least I have not encountered an installation wherein it did not work unless specifically configured to not allow sftp access). If you are on the machine you are intending to sftp/ssh into, type 'sftp username@localhost' (replacing username with a valid username). If you get an error message without being prompted for a password, you do not have the ssh daemon enabled. There should be a good amount of info in the handbook on setting up ssh. hth, Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message