SLES 9 FTP Server

Posted on 2005-05-17
Medium Priority
Last Modified: 2013-12-15
I'm using SLES 9 and am attempting to set it up as an FTP server.  I'm new to linux and would like to have detailed step by step instructions.  Thanks.
Question by:AmericanLand
  • 4
  • 2
LVL 34

Expert Comment

ID: 14020602
I would use FTP, because FTP is fairly insecure. Your credentials (username & password) are transmitted in the clear, as is the data you're transferring.

SLES 9 ships with SSH Secure Shell daemon (sshd) - I'm fairly sure its installed and turned on by default.

sshd includes a Secure FTP (SFTP) server, which is much safer for transferring files.

See --> man sshd
See --> man sshd_config

If you're new to Linux, the "man" system is your lifeline. Use it.
LVL 34

Expert Comment

ID: 14020605
Whoops. I meant to type --> I wouldn't use FTP.....

Author Comment

ID: 14041531
I understand that SSH is more secure, but I don't want to have to install any clients on my other computers.  I want to be able to access the files on my server from anywhere without having to worry about a client.
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 34

Expert Comment

ID: 14069525
Ummm...what makes you think you won't have to worry about a client with FTP? FTP requires...an FTP client. What makes you think FTP is clientless?

Author Comment

ID: 14076810
Both DOS and Internet Explorer support the ftp protocol.  If you have a windows machine, you don't have to install a 3rd party FTP client.
LVL 29

Accepted Solution

Michael Worsham earned 2000 total points
ID: 14077825
Here are the simple instructions to get set up VSFTP running under SuSe.

As root, follow these instructions:

1) cd to /etc/xinit.d

2) vi vsftpd
      remove the 'disable = yes'

3) vi proftpd
      add in: 'disable = yes'

4) cd to /etc

5) vi vsftpd.conf
      Modify any entries here, especially if you wish to allow anonymous FTP access
      Security hint: keep anonymous access disabled else your server will attract hackers

6) vi ftpusers
      add or remove any login names you DON'T want to access your system

7) cd to /etc/init.d

8) Type './xinetd restart'   (this starts up FTP daemons correctly)

If everything is working, FTP should be running on port 21 of your server. Type 'netstat -na | grep 21' to see if you see something 'LISTEN'ING on that port number. REMEMBER: You cannot use 'root' to login via FTP to your server. You need to setup a seperate account (i.e. sysop) to test FTP correctly.

Now to test it: By using a client (either from the main server or a client workstation), attempt to ftp to your server address. Under windows or linux: ftp <yourservername> or ftp <your ip address>

-- Michael
LVL 34

Expert Comment

ID: 14077996
DOS doesn't natively support the FTP protocol. You need an FTP *client* that runs under DOS. Never met a DOS that *included* it (altho I stopped looking about MS-DOS v6.22). In any event, its still a CLIENT software that must be present. Same for IE - it is a CLIENT software that must be present. My point being that Secure FTP or regular FTP, it still takes a CLIENT.

mwecomputers has given you a good start - just understand that you are transmitting your username and password in cleartext every time you login. The advice to disable root login is therefore critical. Be sure whatever account you use, it has minimal privledges. You might even try making it an FTP-only account by giving it a shell of /bin/false in the /etc/passwd file.

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month14 days, 23 hours left to enroll

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question