You are not logged in.

#1 2006-11-28 10:59:46

rasat
Forum Fellow
From: Finland
Registered: 2002-12-27
Posts: 2,301
Website

How to setup local FTP

Earlier I asked how to setup LAN
http://bbs.archlinux.org/viewtopic.php?id=12874

How to upload files on LAN? How to configure?


Markku

Offline

#2 2006-11-28 11:26:40

Zoranthus
Member
From: muc
Registered: 2006-11-22
Posts: 166

Re: How to setup local FTP

*edit*
oops, sorry, you explicitly asked for ftp

Offline

#3 2006-11-28 11:38:27

filoktetes
Member
From: Skien, Norway
Registered: 2003-12-29
Posts: 287

Re: How to setup local FTP

If you just want to transfer files from one computer to another, ftp isn't the worst idea.
I like pure-ftpd. It's quite well configured after install, I think. Just run pure-ftpd as root. You can log into the server as any user, even root, and transfere files as you like. Anonymous useres will see the files in /home/ftp.

Offline

#4 2006-11-28 11:39:17

harlekin
Member
From: Germany
Registered: 2006-07-13
Posts: 408

Re: How to setup local FTP

Or check out the wiki: setting up vsftp


Hail to the thief!

Offline

#5 2006-11-28 14:26:59

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,730
Website

Re: How to setup local FTP

In a networked environment any running service can be a source to compromise the network, so with that in mind I would rather run ssh than ftp.
SSH is inherently secure, especially compared to FTP,  does the same job of transferring files over the network and if you are in the Intranet you can even export X for a graphical GUI.

To start SSH you just add "sshd" to your DAEMONS list in /etc/rc.conf

Then for added security in your /etc/hosts.allow enter the IP address of the machines that you allow to connect to the machine running SSH,like this:
sshd: 142.214.193.65 142.214.193.66  (Notice the space between IPs.)

Hope this helps.

Offline

#6 2006-11-29 12:56:06

rasat
Forum Fellow
From: Finland
Registered: 2002-12-27
Posts: 2,301
Website

Re: How to setup local FTP

Thanks for the suggestions.
Can I use any FTP client e.g. gftp or kbear? If so, then if /etc/hosts config is:

192.168.0.1    consultation.consultationdomain  consultation

in FTP client would be this:

host: 192.168.0.1
username: root


Markku

Offline

#7 2006-12-01 19:07:07

filoktetes
Member
From: Skien, Norway
Registered: 2003-12-29
Posts: 287

Re: How to setup local FTP

That should work fine, at least with pure-ftpd, which is the only one I've tried smile

Offline

#8 2006-12-02 21:33:49

thomas23
Member
From: Canada, Montreal
Registered: 2005-06-11
Posts: 40

Re: How to setup local FTP

For a long time I have used FTP for LAN file transfers. Actually I am running NFS for my Linux Desktop and Samba for my roommate.

A FTP service is very fast and easy to set-up and can be used by windows or Linux. I you just want to transfer file or do some backups, this is great ! vsftpd is the fastest and most secure ftp sever I have saw until now. Well documented too. Actually you have to read documentation if you want it to work with your local system users on your server. Unless you already know how to configure vsftpd... It is quite easy actually.

proftpd works out of the box with local system users non chrooted. Just pacman -Sy proftpd then /etc/rc.d/proftpd start and you have a nice ftp server. If you want to open your server to the world, I strongly recommend vsftpd !

FTP is ok for sharing small amount of files not accessed too often. For sharing large amount of files, you are better with NFS for Linux and Samba for Windows. I you need help with these, just ask !

Offline

#9 2007-01-12 14:12:20

rasat
Forum Fellow
From: Finland
Registered: 2002-12-27
Posts: 2,301
Website

Re: How to setup local FTP

To run ftp in Konqueror (e.g ftp://consultation), what is required? Currently http://consultation works fine but as ftp says cannot connect to host "consultation".


Markku

Offline

#10 2007-01-27 16:48:20

rasat
Forum Fellow
From: Finland
Registered: 2002-12-27
Posts: 2,301
Website

Re: How to setup local FTP

rasat wrote:

To run ftp in Konqueror (e.g ftp://consultation), what is required?

Here is the most simplest solution for file sharing, no daemon nor configure.

fish://consultation
(when asked, enter remote root passwd)


Markku

Offline

Board footer

Powered by FluxBB