Until I recently upgraded my machine from Ubuntu 20.04 to 22.04 I always could connect to SFTP folders with Nemo or Nautilus easily. I am using a connection with username and password and the password is stored locally in keyring (Seahorse), so I just enter "sftp://name@server.com/folder" into the location et voilà.
Nemo now says "Could not display "sftp://name@server.com/folder" – Error: Connection failed" and Nautilus is similar: "Oops! Something went wrong. Unhandled error message: Connection failed".
It does work when I use FTP instead of SFTP. However I prefer to use SFTP. Why is it not working anymore and how can I fix this?