Tunal/crates/tunal
Repository files (latest commit first)
Filename Latest commit message Latest commit date
astar76 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
..
examples S031: native drag and drop and file clipboard on X11 2026-11-19 00:51:53 -06:00
src net: wait for the sftp subsystem reply and name servers without SFTP 2026-11-19 07:17:39 -06:00
ui S035: motion audit, idle frame check, review PNGs (review pending) 2026-11-19 05:15:10 -06:00
build.rs S003: window, Theme and Motion tokens, theme bridge, screenshot command 2026-11-18 09:39:53 -06:00
Cargo.toml S031: native drag and drop and file clipboard on X11 2026-11-19 00:51:53 -06:00