1-click Django and SFTP

Posted March 25, 2018 3.9k views
DjangoUbuntu 16.04

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?

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.

Submit an Answer
2 answers

I have the exact same issue.

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

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.