PDA

View Full Version : FTP on debian server.



davidav
08-07-2008, 11:17 AM
Hi, I order a debian server from ovh.

I followed the tutorial here on FST and through web ui, it was looking good.

However, when it was on the FTP, I was totally lost.

When I was on the code
# openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /root/vsftpd.pem -out /root/vsftpd.pem
It gives me "bash: openssl: command not found"

And on the
nano /etc/vsftpd.conf
I found

anonymous_enable=NO
local_enable=YES
rsa_cert_file=/root/vsftpd.pem

These fields but not

ssl_enable=YES
force_local_logins_ssl=YES
ssl_tlsv1=YES
ssl_sslv2=YES
ssl_sslv3=YES

these.

However, it said server was started when I skipped them and

turned on the client.

Then, I didn't know which information I should use on my ftp client(cuteftp)

I needed "server ip (which I have", "id (I'm not sure about this. Is this ID root? My account ID(which is pirate as the tutorial's default)?," "passward(I have question on ths too. There weren't any passward setting option on the vsftpd.config nor on the tutorial, so is is passward of root account or my accournt(pirate)?," and Port(default 21?). Because usually if I use winftp or something similar, I get to choose the account name, passward, and port. But there were noting I filled out on the vsftpd.
Personally, I have tried all of their combination, but non of them worked.:cry:

So I couldn't access the box though cute ftp.

I would really appreciate your help.

Thank you, have a nice day. :happy:

kross
08-07-2008, 11:29 AM
However, when it was on the FTP, I was totally lost.

When I was on the code
# openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /root/vsftpd.pem -out /root/vsftpd.pem
It gives me "bash: openssl: command not found"


Simply installs as root the openssl package.

apt-get install openssl -y

davidav
08-07-2008, 11:53 AM
However, when it was on the FTP, I was totally lost.

When I was on the code
# openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /root/vsftpd.pem -out /root/vsftpd.pem
It gives me "bash: openssl: command not found"


Simply installs as root the openssl package.

apt-get install openssl -y

Thanks. That did the job!:)
When I used proftpd, it worked fine and I was able to have ftp access.
Now I only have to find where utorrent is saving it's data.
Probably c_drive in wine folder. But It's bit hard to find wine folder..lol.
Is proftpd any worse that vsftpd?

kross
08-07-2008, 02:40 PM
Well, I only use proftpd, so i can't make any comparison.
Like you may have noticed, proftpd under Debian is pretty simple to set up.
A default install and you can log in on the FTP server with all users you created (except those you specified into /etc/ftpusers).

If you created a user pirate, look at /home/pirate/.wine/drive_c.
By default, entries that have a dot as a first character in their names are hidden.
Maybe you can configure your ftp client to show you hidden files.

Raban
08-07-2008, 03:31 PM
yep install proftpd that what i use

tehmrserver
08-08-2008, 05:16 AM
i use gproftpd on my vps i use for torrents

i don't know how to configure anything else lol

Sanka113
08-08-2008, 07:26 AM
Yeah proftpd is the shiz. Use this guide to set it up and config it :

http://www.debian-administration.org/articles/228