LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-14-2005, 05:17 PM   #1
sc_3007
Member
 
Registered: Mar 2005
Location: Kent, England
Distribution: Mandrake 10.1
Posts: 47

Rep: Reputation: 15
Internet File sharing / Web prob


Hey, I need some serious help. I have Mandrake Linux 10.1 and I am running it as a web server/file server.

I have apache running and I use it to store files on my LAN. I am constructing a website that I hope will allow me to access my files on my server anywhere on the web. I am trying to figure out the best way to do this and at the moment I think that the best way is possibly to use an FTP server application.

I am runnning samba so that my server can interface with my Windows XP pro machines fairly seamlessly.

I need to know two things:

a) For this kind of task is FTP the best solution or is there a better way of sharing files over the net.

b) I currently am attempting to use proFTPd but with little success. I was wondering if anybody knew of a really easy basic setup guide that I can use, or on the flip side I have a user account that I store the files on my lan on, I am pretty sure I can "jail" users into that folder but I have one problem. I dont want the ftp users to log-on using that account. I would prefer that they used a different account set up by me but I still wish to jail them to the file folder of the original user from a different user. I hope that made sense.

I hope someone can help as I am pulling my hair out with this. I am a complete linux noob and I know it so u dnt need to tell me!!! That doesnt mean I expect the solution to be easy!!!
lol

ANY HELP GREATFULL!!!!!!! MANY THANKS!!!!

Last edited by sc_3007; 03-15-2005 at 05:18 PM.
 
Old 03-14-2005, 06:52 PM   #2
jpb@bg
LQ Newbie
 
Registered: Mar 2005
Posts: 3

Rep: Reputation: 0
Secure FTP

Hiya,

Personally I'd go for ssh file transfers. All you need is an ssh server running on your server machine.

From a Linux client you can use gFTP or KBear. or Filezilla on Windows. Just tell it to use ssh2 of sftp on port 22 and you can transfer files through an encrypted connection.

Normal FTP sends passwords in plain text allowing hijacks.

Hope this helps, all the best,

Jools
 
Old 03-15-2005, 04:25 AM   #3
sc_3007
Member
 
Registered: Mar 2005
Location: Kent, England
Distribution: Mandrake 10.1
Posts: 47

Original Poster
Rep: Reputation: 15
Hey, interesting Post

It sounds like a cool suggestion, but ive got two questions.

a) Do u know of a good how to set up ssh effectively??? bearing in mind I am a complete linux noob :P hehe well, im ok, I came across ssh but I wasnt too sure bout how to set it up

b) Can I have a web based system that will access these files using ssh??? As I want to host it from a webpage so I need to base it from the web. I program in Java and was thinkin of building a client applet but if it is possible i guess it is just a case of finding the correct syntax.


Thanks 4 ur help, much appreciated!!!!
 
Old 03-15-2005, 08:23 AM   #4
sc_3007
Member
 
Registered: Mar 2005
Location: Kent, England
Distribution: Mandrake 10.1
Posts: 47

Original Poster
Rep: Reputation: 15
Exclamation

UPDATE!!!!

I have managed to get proFTPd configured in exactly the way I wanted it. I spent some time with it today but the problem I have now is that I want to run ssh, under your advice I think that would be best. Can I use ssh in conjunction with proFTPd or do I have to completely set the whole thing up from scratch???

Thanx!!
 
Old 03-15-2005, 08:41 AM   #5
fr_laz
Member
 
Registered: Jan 2005
Location: Cork Ireland
Distribution: Debian
Posts: 384

Rep: Reputation: 32
Usually, a ssh server is included in Linux distrib (at least on RH, FC, Debian) so I think you allready have ssh up & running on your Linux box.
When logged as a NORMAL user, just try "ssh 127.0.0.1", that will connect your machine to your machine (loopback is what it's called). If it works, then you're done with ssh. There are some conf files, of course, but the default config works quite well (for file transfer as well).

As you said, if you decide to use secure ftp, you can drop pureftp.
 
Old 03-15-2005, 05:00 PM   #6
sc_3007
Member
 
Registered: Mar 2005
Location: Kent, England
Distribution: Mandrake 10.1
Posts: 47

Original Poster
Rep: Reputation: 15
Cheers Dude!!!

I'll try that, thanx for your help

 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
File Sharing Via Internet browdan Linux - Newbie 3 11-06-2005 02:35 PM
Is there an internet file sharing app. for Linux? TuxSurfer Linux - Newbie 11 05-23-2004 03:11 PM
File Sharing via the Web? Is WebDAV the answer. morganew Linux - Software 2 03-24-2004 02:46 PM
1 nic internet and file sharing ciberrust Linux - Networking 2 12-28-2003 05:13 PM
File sharing and internet sharing mullet Linux - Networking 1 10-14-2003 02:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration