From owner-freebsd-questions Wed Jun 12 7:39:23 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mtiwmhc21.worldnet.att.net (mtiwmhc21.worldnet.att.net [204.127.131.46]) by hub.freebsd.org (Postfix) with ESMTP id A7EFC37B416 for ; Wed, 12 Jun 2002 07:39:17 -0700 (PDT) Received: from stevenfettig.com ([12.76.83.89]) by mtiwmhc21.worldnet.att.net (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020612143916.WDAV19182.mtiwmhc21.worldnet.att.net@stevenfettig.com>; Wed, 12 Jun 2002 14:39:16 +0000 Message-ID: <3D075D06.4060102@stevenfettig.com> Date: Wed, 12 Jun 2002 09:39:02 -0500 From: Steve Fettig User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.0rc3) Gecko/20020523 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Cc: "'Justin P. Michel'" Subject: Re: Secure FTP References: <1917976790.20020612132206@dds.nl> 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 Alex wrote: >Dear Simas, > >Wednesday, June 12, 2002, 9:12:35 AM, you wrote: > >SC> Hello, > > > >>>-----Original Message----- >>>From: Justin P. Michel [mailto:jpmichel@jcontinuum.ca] >>>Sent: Wednesday, June 12, 2002 4:05 AM >>>To: freebsd-questions@freebsd.org >>>Subject: Secure FTP >>> >>> >>>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. >>> >>> > >SC> Short explanation :) > >SC> Enter this line in your /etc/sshd_config if you don't have it yet >SC> (on the server machine) and restart sshd: > >SC> Subsystem sftp /usr/libexec/sftp-server > >SC> Restart sshd and add client's public key to ~user/.ssh/authorized_keys2 >SC> on the server machine. Be sure that firewall allows sftp connections. > >SC> Simas Cepaitis >SC> simas@5ci.lt > >SC> To Unsubscribe: send mail to majordomo@FreeBSD.org >SC> with "unsubscribe freebsd-questions" in the body of the message > >I beleave it comes as standard. Just enable SSH though the rc.conf and >ftp trougth inetd.conf and connect with sftp. > > > No, you do not have to enable ftp through inetd.conf in order to enable sftp -- in fact, this defeats the purpose of having sftp enabled imho. As long as ssh is enabled through rc.conf (via a generic install - I am assuming you haven't made any major modifications to the normal FreeBSD install), sftp will work. Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message