Login
User:       Password:    
portal

The knowledgebase is organized into different categories. Choose a category for a list of articles or search the knowledgebase for articles related to your question.

Search Knowledgebase



Adding FTP accounts

« Back

SYMPTOMS


  • Cannot login via FTP
  • Need to add an FTP user
  • FTP services are not running


SOLUTION


Depending on your VPS plan, FTP services may or may not be installed. The following procedure will install FTP services within your VPS:
 
[Gentoo]
# emerge vsftpd
 
[Debian]
# apt-get install vsftpd
 
[CentOS/Fedora]
# yum install vsftpd
 
After installation, you can start the service with the following command:
# /etc/init.d/vsftpd start
 
Adding FTP users is as easy as adding a system user on the command-line. In most cases you don't want the user to have a valid shell login, and the directory location where you wish to upload files must be defined (and optionally created with the -m option). The following commands will create such a user (substitute $HOME_DIRECTORY and $USERNAME with your values):
 
# useradd -m -d $HOME_DIRECTORY -s /sbin/nologin $USERNAME
# passwd $USERNAME
(enter user's password twice when prompted)
  
[Trixbox]
Additionally, edit the /etc/vsftpd.user_list by adding the new username to this list of allowed ftp logins:
# nano /etc/vsftpd.user_list
 
[Others]
The /etc/vsftpd.user_list file by default on other distributions is a deny list, and serves the same functionality as the /etc/vsftpd.ftpusers file (unless behavior is modified in the vsftpd.conf file, not covered here).
 
Now you can proceed to use an FTP client to login as the new user, specifying your VPS's hostname (or IP Address) as the FTP server location.


« Back

Also Read

Powered by WHMCompleteSolution

Saturday, 27th April 2024

IP: 18.225.255.134

Client Login

Email

Password

Remember Me

Forgotten Your Password?
Request a Password Reset


Webhosting Panel

>>> Panel Login

>>> Webmail

Search Knowledgebase