Question

1-click Django and SFTP

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?


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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.

I have the exact same issue.