Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I didn't want to setup an ftp server for filesharing with friends. I started an SSH server, this is working fine now. Is their any difference in performance? I.e. is FTP faster because it's an different protocol? I want to setup an user group who can only look at the files and download the files of one specific download folder. So they login and the only see the downloadmap, is that possible?
And what kind of uid do i have to give my friends? Anyone got some tips how i can arrange these things?
Well one main difference is that SSH is a secure shell. So your giving your users a shell access to your machine. FTP, you can limit their access to any particular directory or files with no shell access.
SSH is secure, regular FTP is not. There is however secure FTP programs out there. SSH is more of a utility of remote access and administering your machine as I see it, not for transferring files and such.
Oh and your won't see much of a speed difference between the two.
Because it's secure i wanted an ssh server instead of an ftp server. I already transferred files from my box to school with WinSCP and it worked fine. But now i want to setup an special user group with only one downloadfolder, and further no browsing rights, only the downloadfolder
You may want to setup a secure FTP server then. Its easier to setup, it doesn't allow any user shell access and you don't have to mess with changing all the permissions and groups, etc on your machine.
Giving your users a shell login account so they can SSH into your machine still gives them more power then what they need to do if they only need to either upload or download files.
But other than that, if you still want to use SSH, I would suggest creating one account that they all use the same username and password with, and only have access rights to the one directory you setup for them.
Thx for the advice, looking for how to setup an ftp server right now. Currently one friend is downloading a divx through ssh and it it is working fine, if he removes something i just have to kill him . Will try to setup later an ftp Thx for the advice
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.