How can I find my SFTP username and password ?

How can I found sftp user and password ? I am biginer in digital ocean I want retrive and change my ftp password. Is there any way to change the ftp user and password.


Submit an 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.

You’ll need to login as root and then use the passwd command to change your SFTP user’s password. So if your user name is sftp_user, do this:

passwd sftp_user

Then follow the password reset prompt.