Files
tty7/src/ui
l0ng-ai 9b2c571fe1 fix(settings): put the password and key passphrase back on the SSH host editor (#1130)
* fix(settings): put the password and key passphrase back on the SSH host editor

The rebuilt settings window drew the host form from scratch and left out
the credential rows. Everything behind them survived — the form still
read the keychain on open, counted a typed secret as a change, and
filed it on save — but with no box on screen there was no way to give a
host a password short of connecting and waiting to be asked.

The editor now shows a masked Password row (with a reveal toggle) after
Port, and a Key passphrase row after IdentityFile. Each appears only when
the host's auth method would actually use it, the same split the
connection path makes: Password for Auto/Password, the passphrase for
Auto/PublicKey once IdentityFile names a key that exists on this machine.

* test(settings): the SSH editor's credential rows follow the auth method
2026-10-08 18:06:21 +08:00
..