Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jun 2002 22:47:38 -0500
From:      Steve Fettig <lists@stevenfettig.com>
To:        "Justin P. Michel" <jpmichel@jcontinuum.ca>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Secure FTP
Message-ID:  <3D06C45A.6090205@stevenfettig.com>
References:  <048d01c211ad$2cf2cfc0$7f0ea8c0@sol>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D06C45A.6090205>