FileZilla login

Discussion in 'The Lounge' started by DennisPippin, Dec 9, 2013.

  1. DennisPippin

    DennisPippin New Member

    I have been trying to login to FileZilla. User name and password seem to be right. Do I enter 2200 for the port field or leave it blank and how do I format the "host" field?
     
  2. Dave G

    Dave G Member

    Remember User, Pass are case sensitive.
    port field leave it blank
    Host field YOURWEBSITE.com
     
  3. DennisPippin

    DennisPippin New Member

    Thanks Dave but that is what I have been trying and I keep getting "530 Login authentication failed" "critical error" "could not connect to server"
     
  4. KH-Mathew

    KH-Mathew Systems Administration Staff Member

    If you have a firewall installed check and see if you have been blocked. If you can't ping the server or browse a web page either you probably have been. This would likely happen if you tried several combinations of incorrect port/username. If you are not blocked by the firewall then make sure that your domain name resolves correctly. You can always use the IP address instead. This will bypass any DNS issues.
     
  5. DennisPippin

    DennisPippin New Member

    This is what I keep getting...

    Status: Resolving address of dennispippin.com
    Status: Connecting to 204.197.240.105:21...
    Status: Connection established, waiting for welcome message...
    Response: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
    Response: 220-You are user number 1 of 50 allowed.
    Response: 220-Local time is now 08:10. Server port: 21.
    Response: 220-This is a private system - No anonymous login
    Response: 220-IPv6 connections are also welcome on this server.
    Response: 220 You will be disconnected after 15 minutes of inactivity.
    Command: USER root
    Response: 331 User root OK. Password required
    Command: PASS ***********
    Response: 530 Login authentication failed
    Error: Critical error
    Error: Could not connect to server
     
  6. KH-Mathew

    KH-Mathew Systems Administration Staff Member

    Root does not have an ftp account for security reasons. You can enable root ftp login in Home >> Service Configuration >> FTP Server Configuration
     
  7. KH-Mathew

    KH-Mathew Systems Administration Staff Member

    That was actually an incorrect statement. Root does have an FTP account, but root logins are disabled.
     
  8. DennisPippin

    DennisPippin New Member

    Root is the user name they gave me in the account info email. I'm so confused, lol
     
  9. Dave G

    Dave G Member

    I'm guessing but this could be the problem
    "Response: 220-This is a private system - No anonymous login"

    You need to set "Login Type" to "Normal"
     
  10. KH-Mathew

    KH-Mathew Systems Administration Staff Member

    That info is intended to be used for WHM logins and ssh. I thought that was specified in the login emails. Normally ftp logins are done using the credentials of a cpanel account owner. It is a bad idea to allow root to use ftp since the protocol itself implements no encryption and anyone could steal a password if they were sniffing packets. It is worth noting that there is FTPS and SFTP which implement encryption and a secure handshake on connections.
     
  11. Dave G

    Dave G Member

    Sorry
    Yep I see it now "Command: USER root"
     
  12. DennisPippin

    DennisPippin New Member

    Where can I find the credentials of the cpanel account owner...me? I'm new to using a VPS and it don't help that I'm tech challenged.
     
  13. KH-Mathew

    KH-Mathew Systems Administration Staff Member

    Hi Dennis,

    The credentials for the cpanel user are whatever you used when you created the cpanel account. It sounds like you are a bit new to this. I suggest that you read the following to get started. It may help to make some more sense out of how cPanel/WHM work.

    http://docs.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/WebHome
    http://docs.cpanel.net/twiki/bin/view/AllDocumentation/CpanelDocs/WebHome
    http://docs.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/CreateAccount
    http://docs.cpanel.net/twiki/bin/view/AllDocumentation/CpanelDocs/FTPAccounts
     
  14. Dion

    Dion Member

    I use ssh-keygen to generate a public/private RSA key pair (without passphrase), then save the public key as /.ssh/authorized_keys and import the private key into FileZilla and PuTTY. Voila! SFTP with root account for FileZilla, and key-based authentication for SSH. Logging in is now simpler, and once you disable SSH password authentication in WHM, it is more secure as well.

    I believe key pairs can also be generated in WHM, but if I remember correctly, they require passphrases.
     
  15. owine

    owine New Member

    Use the root info to access WHM. From WHM, create a cPanel account for the site you will be hosting. During this process you will create a username/password for the account and that user/password will work for FTP.
     
  16. Dan

    Dan Moderator

    If you want to login to your VPS using your root login (which will give you access to the whole server rather than just a user's files) then you will do so through SSH.

    To do so in Filezilla configure it like so:
    Host: host.name.com (or IP#)
    Port: 2200
    Protocol: SFTP - SSH File Transfer Protocol
    Logon type: Normal
    User: root
    Password: your root password
    To have it switch to the root directory on login click the Advanced tab and under Default remote directory put /

    There we go, root access to your VPS using Filezilla :D

    Remember that this is ROOT login not USER login. So if you upload files for a user's domain you will have to chown the files to that user:
    Code:
    chown -R user:user *
    the -R is to make it recursive.
     

Share This Page