
Isn't it called "webdav"?ftp over http
The server end needs to have a port open on the firewall. Both ways.szatox wrote:Isn't it called "webdav"?ftp over http
Anyway, sftp seems to be the way to go for you. It can use a regular SSH, or you can even force-command sftp server (so nobody would be able to run any other command than file sharing stuff on that account), and whatever client you like. There is sftp command line client for linux, DEs like gnome come with an automagic mount daemon, winscp and filezilla on windows.
Easy to setup, uses only a single port in one direction (no need to "pierce firewalls") and your session is always encrypted.
Actually they aren't. The protocols differ, even though they both use ssh transport.sftp client (or scp which is the same thing)
Edit: I posted incorrect information and not much else in this post. Rather than try to fix it, I am replacing all of my text with this retraction. You can see the misinformation I provided in a post below if you want.szatox wrote:Actually they aren't. The protocols differ, even though they both use ssh transport.sftp client (or scp which is the same thing)
You can't scp files to a server with a force-command sftp-server.
Not a big difference from the end-user's perspective, but it can result in a "wtf is wrong with this thing" on the admin's end, so it's better to be aware of that.
Code: Select all
force_local_logins_ssl=YES
Distro mirrors are unauthenticated and likely hosted on a public cloud somewhere.alamahant wrote:I see a lot of ftp:// in distro mirrors..
But maybe everyone is right.
Ftp is obsolete.....
BUT for the shake of argument wouldenforce also logins to be encrypted?Code: Select all
force_local_logins_ssl=YES
Do you have a source for this? I recall reading something similar on LWN, except that everywhere you wrote sftp, that article wrote scp, and vice versa.1clue wrote:Well, if you're going to be that specific about it, sftp is less secure than scp and will be phased out at some point soon.
The issue is that the sftp command doesn't verify the name of the file being transferred, so a hostile server can compromise the client system.
That's disturbing. Googling it, I see you're right. I'll edit my message to prevent anyone from getting it wrong.Hu wrote:Do you have a source for this? I recall reading something similar on LWN, except that everywhere you wrote sftp, that article wrote scp, and vice versa.1clue wrote:Well, if you're going to be that specific about it, sftp is less secure than scp and will be phased out at some point soon.
The issue is that the sftp command doesn't verify the name of the file being transferred, so a hostile server can compromise the client system.