mirror of
https://github.com/EthanShoeDev/fressh.git
synced 2026-01-11 06:12:51 +00:00
server key fn
This commit is contained in:
@@ -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),
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user