I have SSH enabled on my Ubuntu Server so that I can remotely manage and configure it. I want to make it a file server so that people on my LAN can upload files onto it or download files. Should I use FTP to do so, or should I avoid opening another port by just using SSHFS? Another way to word this is, what are the benefits of FTP over SSHFS?
-
It depends, both have advantages and disadvantages. Can you describe what you are using it for ? file transfer? one way, two way ? Over the internet ? Over a LAN ? How important is security ?– PantherOct 2, 2015 at 3:04
-
File transfer, two way. Probably over a LAN, maybe over the internet in the near future. Security isn't too crucial.– RohanOct 2, 2015 at 3:59
-
If security is not crucial and you are on a LAN, FTP is fine. Alternates include samba. Over the internet ssh (sshfs) or kerberos.– PantherOct 2, 2015 at 14:48
Add a comment
|
1 Answer
Really, go with SSHFS. All you need to do is set up a guest account and password that can be SSH'd into. Then users can upload anything they want into a folder on the server. FTP is much less secure, and is easier to hack/be hacked. I would go with SSHFS. Plus, you get the added benefit of being able to use RSA/DSA authentication keys.
-
-
-
And if you like this answer, please mark it as accepted with the little check mark to the left.– DanielOct 2, 2015 at 14:44