4 ms·
On 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
by nuclear_eclipse 18y ago
On 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?