View Single Post
Old 10-29-2007, 06:30 PM  
qw12er
Confirmed User
 
Join Date: Apr 2004
Location: Montreal
Posts: 799
:stoned help - Setting up FTP with SSH.

Hi, I'm trying to set up my new server and I'm having problems setting up de FTP users... I'm a proggy not a sys admin

I did every thing they say here, but when I try to connect I get the 530 login incorrect... What have I done wrong ?

To change or set the FTP password : (username = FTP username)
1. Log into your server through SSH
2. Issue the following command : passwd username

To create a new FTP account : (/home/www/domain.com = path to data)
1. Log into your server through ssh
2. Issue : /usr/sbin/adduser -d /home/www/domain.com -s /bin/false username

To create a new web domain : (domain.com = new domain name)
1. Log into your server through ssh
2. Issue the following command : mkdir /home/www/domain.com
3. Issue the following command : chmod 755 /home/www/domain.com
4. Create the new FTP account
5. Set the new FTP account password
6. Create the www.domain.com alias to domain.com

Directory and user are created ... but simply don't work
__________________
I have nothing to advertise ... yet.
qw12er is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote