Created attachment 175802 [details] Add-Edit SSH service.jpg: screenshots comparing add/edit - completely bogus. LibreOffice cannot edit the SSH remote save service. That has been true from day 1 (LO 5.1 when Remote Open/Save was introduced). At first, it only allowed changing the username (and OK remained greyed out). In LO 5.2, the full dialog showed up for editing, surprisingly based on bibisect-linux-64-5.2 commit 1991055d113a1ba9c56640eef867b25d3817607f author Jan Holesovsky on 2016-03-24 17:06:37 +0100 commit d2c1bc036de4b24a0f4602fbc7fd978fa8d603eb Disable gdrive/OneDrive/Alfresco cloud based on whether they are compiled in. The problem is that "ssh://" is not tied to any internet protocol, so it seems like the fix is to add urlobj INetProtocol::Ssh.
The problem is that bool HostDetailsContainer::setUrl cannot verifyScheme of INetProtocol::Generic, so the form is just initialized with random junk.
URI format ssh:[username[:password]@]host[:port][?options], so: m_bAuthority = true; //has username || host || port m_bUser = true; m_bAuth = false; //doesn't seem likely to support auth= m_bPassword = true; m_bHost = true; m_bPort = true; m_bHierarchical = false; //can specify a path m_bQuery = true; //the ?options is a query portion
proposed fix at http://gerrit.libreoffice.org/c/core/+/123733
Fixed in LO 7.3 by author Caolán McNamara on 2021-10-18 11:07:30 +0200 commit 5acba60cbd97f2f181037cbd3ab049e7ebff5332 Related: tdf#145169 use "sftp" because that's a known Protocol This fixes any NEW services. The old ssh:// service still acts the same as previously.
Justin Luth committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/7bed55bc0b4ebb26fa8de5e3e38716d2febd0eb7 related tdf#145190 gio_mount: show username when requesting password It will be available in 7.3.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.