Question
Setting up website - Step-by-step process - FileZilla not connecting?
Hi, I’m new at self-manage VPS. I’m looking to clarify the process of setting up a site.
- I create SSH with help of PuTTY
- I create droplet - Ubuntu + LAMP - and using SSH to connect
- 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.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×
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