Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I can think of a couple of ways which are not that easy:

  1. ftp - user needs ftp (or even ftps) client, active vs. passive, firewalls
  2. https - only for download
  3. webDAV - setup of apache is rather extensive
  4. scp and normal user accounts - hard to secure the system from then local users

I guess I am searching for a simple webDAV server that is easy to setup and already contains sane defaults (and https support).

Should allow for upload-only directories (-wx permissions).

share|improve this question
    
Consider this: bernaerts.dyndns.org/linux/75-debian/62-debian-webdav-share Works now 3 yrs at our place. –  Andre Oct 18 at 20:51

2 Answers 2

Simple, user-friendly solutions:

As long as other solutions are concerned, you can setup what you prefer: nfs, ftp etc etc, and easily create encrypted tunnel with socat[1].

[1] "SSL tunnel with mutual authentication, using socat"

share|improve this answer
    
Hm, dropbox and colleagues don't run on my linux system. They are remote services. Socat is not always sufficient when you have services that use multiple ports or dynamic ports from a port range (e.g. nfs. ftp ...) - and such a setup looks certainly more complicated/fragile than - say - configuring dovecot/postfix/nginx. –  maxschlepzig Aug 30 '11 at 9:00
    
As you've wrote. Everything depends on user needs. I've mentioned above solutions, cause I believe in some cases might be helpful. If something more suitable to your needs will come to my mind, I'll let you know. –  Grzegorz Wierzowiecki Aug 30 '11 at 12:13

You can chroot ssh/scp sessions. Then, if you turn off password auth on the sshd you won't be able to be bruteforced.

What could be more secure, over the internet, than chrooted ssh via pubkeys?

share|improve this answer
    
Try being more helpful in your answer. If the person asks for easy solutions, a vague reference to chroot+ssh/scp (plus some keywords) will not help. This kind of answer might get you downvotes in the future. –  rozcietrzewiacz Aug 27 '11 at 22:29

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.