ok - progress!!

libssh can read the files saved!!
This commit is contained in:
neon443
2025-06-19 13:06:31 +01:00
parent 5b91e315a7
commit 869de8a47b

View File

@@ -182,7 +182,11 @@ class SSHHandler: ObservableObject {
print(status) print(status)
var privkey: ssh_key? var privkey: ssh_key?
ssh_pki_import_privkey_file(tempKey.path(), pass, nil, nil, &privkey) if ssh_pki_import_privkey_file(tempKey.path(), pass, nil, nil, &privkey) != 0 {
print("help?!?")
}
} }
func authWithPw() -> Bool { func authWithPw() -> Bool {