5 ms·
Note that "SFTP" has no single meaning. Depending on the client, it may mean "FTP encrypted with SSL" or "FTP with encryption extensions of one of a couple of
by SwellJoe 18y ago
Note that "SFTP" has no single meaning. Depending on the client, it may mean "FTP encrypted with SSL" or "FTP with encryption extensions of one of a couple of types invented independently by FTP server authors over the years" or "SSH File Transfer Protocol" (which is actually the real meaning of the abbreviation, and was in use for several years before secure FTP began to be common).
Historically, people tried to convince folks to call it FTPS (for FTP over SSL, which is the most popular form of secured FTP), but that seems to have never taken off. Unfortunate, since SFTP means too many incompatible things.
It's stabilized somewhat in recent years, and usually clients will do the right thing--and the most common meaning of SFTP has come to be "FTP encrypted with SSL" (which is actually one of the weaker forms of security for FTP--but it's got some semblance of "standardization", and works in lots of clients and servers, so that makes it superior). And, of course, there is no RFC defining secure FTP, so it's a de facto "standard" which can lead to buggy implementations and a lot of finger pointing--server says client is wrong, client says server is wrong, user says "I give up" and uses FTP, instead.
- nuclear_eclipse 18y agoOn that note, from a Linux system, what does `sftp` use on the command line? I had always assumed that SFTP was always and only SSH transfers, just like using `scp`. Is this wrong of me to think this way?
- jrsims 18y ago'man sftp' :)
- nuclear_eclipse 18y agoMan, why can't people let me take 10 minutes of their life to explain trivialities for me to grasp in 60 seconds, instead of me being the one to waste 10 minutes looking it up? Are you all really that lazy and self-centered?
- Hexstream 18y agoBecause it would take about 15 seconds for you to find the answer by yourself by invoking the aforementionned command. Seriously, here's the first DESCRIPTION paragraph of man sftp: sftp is an interactive file transfer program, similar to ftp(1), which performs all operations over an encrypted ssh(1) transport. It may also use many features of ssh, such as public key authentication and compression. sftp connects and logs into the specified host, then enters an interactive command mode.
- deleted 18y ago[deleted]
- jrsims 18y agoTeach a man to fish...
- bootload 18y ago"... Man, why can't people let me take 10 minutes of their life to explain trivialities for me to grasp in 60 seconds ..." If this is not an ironic comment: RTFM is good for you and it's not a good habit to encourage people to ask for "pre-digested" knowledge just because "you" see no value in looking something up.
- nuclear_eclipse 18y agoSarcasm is the name of the game. I was just so caught up in the article/comments that I momentarily forgot about manpages, usually my first place to consult.
- deleted 18y ago[deleted]
- SwellJoe 18y agoI had always assumed that SFTP was always and only SSH transfers, just like using `scp`. Is this wrong of me to think this way? No, this is absolutely correct. But don't be surprised if someone misinterprets you.
- tptacek 18y agoI'm not sure I agree with you 100% on your police work there, Lou. SFTP is its own protocol; it runs over SSH, but is substantially more complicated than "scp". "sftp" is not just user interface, like scp is.
- SwellJoe 18y agoI took his comment to mean, "I've always understood SFTP to be the FTP protocol that runs over SSH", and so I replied that his understanding was correct. I didn't consider him saying "like using scp" to mean he thinks "it is scp". Rather, I took it to mean, "it uses SSH to copy files, like scp". But, I can see how one could interpret it that way. It was not my intent. I'm staying the heck of out of the pedantry business in the future. This has been a ridiculous bundle of threads all spawned just because I had a bee in my bonnet about how the term SFTP is confusingly misused by lots of folks. I don't even use any of these "FTP" protocols for anything (I use rsync or SVN for website data, and scp for one-off file copies--I haven't used an FTP GUI since I owned an Amiga). I only ever touch FTP for testing problems our users report, and then always using lftp on the command line. I've got no dog in this race...
- jimbokun 18y ago"I had always assumed that SFTP was always and only SSH transfers, just like using `scp`." Which brings up what I was wondering, what use cases do SFTP/FTPS/FSTP etc. satisfy that a combination of scp and rsync do not? Maybe better for GUI client and file browser interfaces?
- attack 18y agoFilezilla on windows assumes sftp to be SSH transfers. So I think you've got that backwards.
- SwellJoe 18y agoFilezilla on windows assumes sftp to be SSH transfers. So I think you've got that backwards. What, exactly, do you think I have backwards? I just tried to explain how wildly diverse the meanings are, and how people use the terms. I don't care what your favorite FTP client means when it uses the term SFTP (bully for you, that you happen to use one that uses the term correctly)...I'm telling you that there is little agreement in the wild about what the term means, and many people use it incorrectly to refer to FTPS (and other kinds of secured FTP).
- attack 18y agoJust to add, here's what wikipedia says about the term: http://en.wikipedia.org/wiki/SFTP http://en.wikipedia.org/wiki/SFTP
- SwellJoe 18y agoYes, it'd be lovely if everyone used the term correctly...but a large percentage of users do not. Googling SFTP is actually very heartening--it takes quite a lot of searching to find anyone using the term incorrectly. This wasn't always the case (and the hearts and minds of the non-technical masses takes a lot longer). We still see at least 50% of our customers saying "SFTP" when they mean "FTPS" (and we don't support any of the proprietary FTP-with-encryption protocols). I think part of our users confusion comes from the fact that the server that provides SFTP service is called sshd and the server that provides FTPS is called proftpd. Obviously, FTP is right in the name of one of them, so that's where all FTP comes from! System administration is hard.
- narag 18y agoIt seems that there is no so much confusion. Maybe you've had bad luck and met a bunch of uninformed people, then you think that the misunderstanding is more common than it is. My experience is also that everybody I met knew what SFTP is.
- nailer 18y agoI disagree. SFTP means SFTP. FTP over SSL is a different thing. Since you haven't provided references, I will - look at Adobe Dreamweaver or other web based clients. SFTP is assumed to mean SFTP as implemented by an SSH server. Traditional FTP uses two ports and it's a bitch to run via SSL - as a result, it's extremely rare. PS. Moderated the article down for "This is going to sound a little weird at first considering what I do for a living, but I want you to stop using FTP." It's 2008. You should have stopped using FTP in 1998.
- SwellJoe 18y agoYou disagree with what? I thought I was quite clear that the appropriate meaning of SFTP is SSH File Transfer Protocol and has been for years. I certainly didn't think I was arguing that people ought to use it to mean anything else. Many users (and a few clients and servers) do use the term incorrectly. I don't like it, and clearly you don't either...I don't see what you're disagreeing with. And, of course FTP over SSL is not extremely rare...not even close to rare. All of the major FTP servers, and many FTP clients, support it quite easily, and many, many end users insist on it. ProFTPd, possibly the most popular FTP server, can be configured to use it with just a few configuration directives. I'm not encouraging anyone to use the terms incorrectly or to use the FTPS protocol instead of SFTP. In fact, I've been recommending SSH FTP for years (one could probably dig up mailing lists posts that include me scolding people for using FTP from ten years ago). I guess I've not been very clear. I apologize for misleading anyone into thinking I intended to praise the misuse of terms. I just wanted to point out that people use the terms incorrectly extremely often, and it's wise to be explicit about the protocol you mean.
- nailer 18y agoYou asked what I specifically disagreed with. Your original post: > the most common meaning of SFTP has come to be "FTP encrypted with SSL" I disagree with that. We both think people should use 'SFTP' to correctly mean as implemented by an SSH server, but you think the term has lost meaning. I am disagreeing with that.
- 18y ago