diff options
| author | Can Celik <ogulcancelik@gmail.com> | 2026-09-21 15:22:46 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-21 15:22:46 +0300 |
| commit | 3602c757e07645383dc092f8540dcb72ba0ed49d (patch) | |
| tree | 4c4aae37a34a5bfe16ac45e710bbb9a8684915d2 /src/app | |
| parent | 5a649142233631f8407b4099da0e8e78dfef8574 (diff) | |
fix: refresh forwarded ssh agents after reconnect (#4443)
refs #1931
Diffstat (limited to 'src/app')
| -rw-r--r-- | src/app/api.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/app/api.rs b/src/app/api.rs index 0900a09d..1b5bad71 100644 --- a/src/app/api.rs +++ b/src/app/api.rs @@ -899,6 +899,13 @@ impl App { result: ResponseResult::Ok {}, } } + Method::ServerSshAgentRegister(_) => { + return responses::encode_error( + request.id, + "connection_local_only", + "SSH agent registration requires a persistent local JSON API connection", + ); + } Method::ServerLiveHandoff(_) => { let response = ErrorResponse { id: request.id, |
