brianv
By:
brianv

Setting up website - Step-by-step process - FileZilla not connecting?

February 19, 2015 1.2k views

Hi, I'm new at self-manage VPS. I'm looking to clarify the process of setting up a site.

  1. I create SSH with help of PuTTY
  2. I create droplet - Ubuntu + LAMP - and using SSH to connect
  3. I connect to my VPS with FileZilla

Does this sound about right?

Problem: I'm having issue with #3 at the moment with connecting to the server. Wondering if I missed a step.

3 comments
  • You'll want to at least specify the error message you are getting, and the settings you are using when connecting with FileZilla.

  • The most common reason that you would not be able to connect via SFTP using Filezilla with a new droplet is that.

    a.) you are not using ssh keys but rather are using a password for authentication

    and

    b.) You have not yet changed your default root password via SSH.

    The first time you log into your droplet via SSH (using PuTTY) you will be prompted to first confirm your current password (the one you were emailed) and then to enter a new root password twice. Once this is done it should be possible to make an SFTP connection.

    If you have already done this and are still having difficulty connecting please let us know of any error messages you are seeing both in Filezilla and in your droplet's log files located in /var/log

  • sudo apt-get install openssh-server

    The quick way, is to go into host manager and create a new connection
    host = droplet ip address
    port = 22
    protocol = SFTP
    logon type = normal
    user & password of account.

    this will not work if in your sshd_config file you have
    PasswordAuthentication no

    it will work if you have
    PasswordAuthentication yes

1 Answer

This question was answered by @ryanpq:

The most common reason that you would not be able to connect via SFTP using Filezilla with a new droplet is that.

a.) you are not using ssh keys but rather are using a password for authentication

and

b.) You have not yet changed your default root password via SSH.

The first time you log into your droplet via SSH (using PuTTY) you will be prompted to first confirm your current password (the one you were emailed) and then to enter a new root password twice. Once this is done it should be possible to make an SFTP connection.

If you have already done this and are still having difficulty connecting please let us know of any error messages you are seeing both in Filezilla and in your droplet's log files located in /var/log

View the original comment

Have another answer? Share your knowledge.