I am using GIO to mount an SFTP path where the name contains upper-case characters. This seems to fail, and in the error message the input name seems to have been converted into lower-case.
The full command is gio mount sftp://FOO and the error message is:
gio: sftp://foo/: Connection failed
Notice the change in case.
Is this a bug, or am I missing some standard where the paths must be case insensitive?
I got this case where I had an SSH server configured in ~/.ssh/config and the Host name contained upper-case characters. I was trying to do an SFTP mount to it via GNOME Files. Changing the name used in Host to all lower-case characters solved my problem.
If you want to try for yourself, here is the minimal setup with Docker:
docker run -it --rm ubuntu:24.04 bash
apt-get update
apt-get install dbus ssh gvfs-backends libglib2.0-bin
dbus-run-session bash
gio mount sftp://FOO