where does my sftp passwords save in linux?

I am using ubuntu 20.04, I used to connect to a server using sftp (like I added my server address as sftp://... and chose the option to remember my password forever.)

enter image description here

Now I forgot my password :) I still can connect to server when I click on my server in the + other locations in the ubuntu because it remembers my password, but I dont remember it myself. I was wandering if there is a way to find and look up what was my password?


There is a system app "Keys & Passwords" (or similar - I'm using a non-English language version of Ubuntu so don't know the exact English name), you can find it in the applications menu. Open this app, go to "Passwords database" tab and you should find your password stored there somewhere, along with other stored passwords (see screen below).

enter image description here

Double click on the entry corresponding to your stored password and you should see a screen like below.

enter image description here

Click on the key image in the password field and you will see the password.

BTW. I think that a better site for this question is Ask Ubuntu - maybe someone of the admins can migrate the question there...