Date: Fri, 27 Aug 2010 06:19:29 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Ed Flecko <edflecko@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: Advantage -vs- Disadvantage: SFTP -vs- SCP Message-ID: <4C774AE1.2040800@infracaninophile.co.uk> In-Reply-To: <AANLkTikvteMWrwHxqAmva4_uxtR2KWapOs6KxXL=qcUj@mail.gmail.com> References: <AANLkTikvteMWrwHxqAmva4_uxtR2KWapOs6KxXL=qcUj@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigE82AD68E9255BD30F0D713C6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 26/08/2010 23:07:35, Ed Flecko wrote: > I have a server I'm building that is internet accessible and I'm > wondering if there's any advantages/disadvantages of using either SFTP > -vs- SCP? >=20 > My primary concern is overall security of the server (even if that > means inconveniencing the end users), and I'm wondering if one method > might be better than the other? It depends what you mean by SFTP. If you mean the SSH sub-system (file transfer tunnelled over SSH using a client which works like the FTP client), then there is no practical difference in security compared to scp(1). sftp(1) and scp(1) are very similar over the wire and server-side: it's just the client interface that's different. On the other hand, if you mean crusty old FTP tarted up with some SSL trappings -- which should really be called FTPS, but lots of people are confused about the naming -- then *run away*. It may run over SSL, but it has all of the design flaws of regular FTP plus the fact that it's over SSL means you can't even use firewall proxies like ftp-proxy(8). If you want a means of secure upload that can be used natively from windows, try WebDAV. You can, in theory, mount a WebDAV directory as a partition in Windows, although this is a lot more painful than it needs to be. (As they say: with Windows, failure is not an option). The same thing on a Mac works beautifully, but then it's Unix already and you can just use sftp or scp natively from Terminal.app. See the appendix to the SVN manual for some useful hints: http://svnbook.red-bean.com/en/1.5/svn-book.html#svn.webdav Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enigE82AD68E9255BD30F0D713C6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkx3SukACgkQ8Mjk52CukIwNegCfZC97j1okM///Nk2DeGdKaUdr WrEAn34KQZWeYMPbeGjFDAjL9J252n9f =CgJ6 -----END PGP SIGNATURE----- --------------enigE82AD68E9255BD30F0D713C6--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C774AE1.2040800>