Connecting to an interface specific IPv6 SFTP address fails in Nautilus
Affected version
- Nightly flatpak: yes
- 1:3.26.4-0~ubuntu18.04.5 (on Ubuntu 18.04)
Steps to reproduce
Have or Setup an SSH server with IPv6 address for testing
The easiest way is to have SSH server running on the localhost systemctl start ssh
and then attempting to connect to the local IPv6 address (check with ip addr
)
Setup instructions for a remote SSH server are out-of-scope.
Test on Nautilus
- Click on address bar
- Give address of etiher the below two forms
ssh://USER@[IPv6_ADDR%INTERFACE]
sftp://USER@[IPv6_ADDR%INTERFACE]
- Press [Enter]
Current behavior
Error Dialog, with
Oops! Something went wrong.
Unhandled error message: No hostname specified
Expected behavior
An SFTP mount on the target SSH server, similar to how an address of form ssh://USER@IPv4_ADDR
behaves.
Additional information
First reported at https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1885136
Edited by Eero Aaltonen