server key fn

This commit is contained in:
EthanShoeDev
2025-09-22 01:14:29 -04:00
parent 2e9faf0bdc
commit eb5ac7b6bb
5 changed files with 453 additions and 210 deletions

View File

@@ -38,6 +38,10 @@ export const useSshConnMutation = (opts?: {
console.log('SSH connect progress event', progressEvent);
opts?.onConnectionProgress?.(progressEvent);
},
onServerKey: async (serverKeyInfo) => {
console.log('SSH server key', serverKeyInfo);
return true;
},
abortSignal: AbortSignalTimeout(5_000),
});