Problem with Nautilus and Port 22 (sftp) when a different port is configured
I've configured my ssh client(s) to use a port different from 22, in order to avoid the large number of break-in attempts on the standard port 22. That's the "Port" setting in /etc/ssh/ssh_config. I've also configured my ssh servers (different machines) to use that port. That's also "Port", in /etc/ssh/sshd_config. This works fine.
But now I'm trying to use nautilus to connect via sftp to my website, using the address:
sftp://username@provider:22/path/to/www/data
The port 22, which is to be used, is provided. The configured new default port is overridden by it. This works for the sftp command:
sftp sftp://username@provider:22/path/to/www/data
But it doesn't work with nautilus. I get this message (translated back from German to English):
"The server has refused the connection. This usually is because of a firewall denies access or the remote service isn't running."
But when I change the default port in /etc/ssh/ssh_config back to 22, it works!
It looks like nautilus fails to regard the port, which is provided in the URL (see above).
Ubuntu version: 20.04.1 LTS Nautilus version: 1:3.36.3-0ubuntu1