1-click Django and SFTP

March 25, 2018 1.2k views
Django Ubuntu 16.04

Hello!
I installed 1-click Django and when I connect to it through SSH - it writes me:

You can use the following SFTP credentials to upload your files (using FileZilla/WinSCP/Rsync):
Host: #my_host#
User: django
Pass: #password#

But, when I connect to it through FileZilla (port 22) - it responds:
Disconnected: No supported authentication methods available (server sent: publickey)

What is it? What I do wrong?

2 Answers

I have the same situation so then I use WinSCP
here is the link

https://winscp.net/eng/index.php

Follow these steps:

Download and install WinSCP.
Launch WinSCP and in the “Session” panel, select “SFTP” as the file protocol.
Enter your server IP and specify ‘django’ as the user name.

WinSCP configuration

Click the “Advanced…” button and within the “SSH -> Authentication -> Authentication parameters” section, select the private key file for the server. WinSCP will use this private key to log in to the server.

WinSCP configuration

From the “Session” panel, use the “Login” button to connect to the server and begin an SFTP session.

You should now be logged into the /root/ directory on the server. You can now transfer files by dragging and dropping them from the local server window to the remote server window.

Have another answer? Share your knowledge.