linuxmint/nemo

Impossible to go back to username selection, when trying to acces to a SFTP network share

nhoudelot opened this issue · 0 comments

Distribution

Mint 21.3

Package version

Nemo 6.0.2

Frequency

Always

Bug description

When trying to access to a sFTP network share, the first time it ask for username
but if you fail, and try another time, it will never ask you the username again. even if you kill nemo

Steps to reproduce

first : On your LAN, you have to declare your sFTP share, via avahi on the machine you try to connect :

  • if not installed :
    sudo apt install avahi-daemon avahi-utils
  • declare sFTP :
sudo nano /etc/avahi/services/ssh-ftp.service
<?xml version="1.0" standalone='no'?>
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>
<name replace-wildcards="yes">Secure FTP on %h</name>
<service>
<type>_sftp-ssh._tcp</type>
<port>22</port>
</service>
</service-group>
  • restart the service
    sudo systemctl restart avahi-daemon.service

then it will become available in nemo, on the left panel, in network


if you double-click, to connect to that share, the first time, it ask you for your username
but if you change your mind, and realized it was the wrong one, you can't go back, because every time it will ask you for a password, and never for another username.

note : killing nemo with nemo -q doesn't fix anything
you have to close your session (or reboot) to be able to connect again.

sftp_nemo

Expected behavior

having to possibility to connect with a different username
maybe a little like when you try to connect to an FTP ?

sftp_nemo2

Additional information

No response