Report this

What is the reason for this report?

1-click Django and SFTP

Posted on March 25, 2018

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?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

I have the exact same issue.

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.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.