Commit graph Tunal/crates/tunal-net
Author SHA1 Message Date
1d047eeee8 net: wait for the sftp subsystem reply and name servers without SFTP
russh sends the subsystem request without waiting for its reply, so a server
that refuses SFTP, or an account with a forced command that accepts the request
and closes the channel at once, surfaced as the raw "sender dropped" of the
SFTP greeting. Read the reply first and map each case to a plain message
("<host> doesn't offer file access (SFTP)", "... to this account", "didn't
start file access (SFTP) in time"). Sign-in failures now say what was refused
(key, password, a key left locked). Messages name the host as written (the ssh
config alias).

One connect attempt per host at a time: callers that wait for it share its
connection or its error, and a second click on a Network entry while its home
folder is looked up does nothing, so a double click no longer shows two toasts.

Tests: refused subsystem, forced command, channel closed without reply,
concurrent requests sharing one attempt, specific auth errors.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-19 07:17:39 -06:00
9ea6cc342c S033: tests for thumbs, tags, MusicBrainz, player, ssh, SFTP and MTP
Fixes: key passphrase retried up to three times; zero track/disc number reads as none.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-11-19 04:58:55 -06:00
29f4456154 S029: SFTP connections in the UI
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-11-19 00:35:39 -06:00
b36fea1436 S028: SFTP location with auth chain, host key checks and connection pool
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-11-19 00:05:26 -06:00
1c1817f7ed S027: ssh config parser and known_hosts checking
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-11-18 19:35:41 -06:00
5adf7c4274 S001: workspace, crates, README and feature map
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-11-18 09:27:41 -06:00