Error connecting via ftp to my server


#1

I have configured the ftp server as shown in this article: https://rtcamp.com/tutorials/linux/setup-sftp/

I tried connecting my server using filezilla client and it show me this instead;

Status: Connecting to 123.133.112.84:22… Response: fzSftp started Command: open "www-data@123.133.112.84" 22 Error: Disconnected: No supported authentication methods available (server sent: publickey) Error: Could not connect to server

Did I do anything wrong?

On a gut feeling, disabling password authentication on the server might have block filezilla from connecting

If that’s the case, how should i connect to my server via ftp?


#2

@dave87

You can connect to your server by using .ppk file while connecting to your server. For creating your .ppk file you can follow procedure like this.

cat /var/www/.ssh/id_rsa > file.pem

then transfer this file to your local system.

and you can use this file with filezilla from Edit > Settings > SFTP > Add Key file


#3

@harshadyeola

Thank you!

I’ve disabled password authentication and it works perfectly with filezilla with ppk file.


#4

Hello @dave87

Glad to know query is resolved. I am closing this support topic for now.

Feel free to create a new support topic if you have any queries further. :slight_smile:


#5