mirror of
https://github.com/neon443/ShhShell.git
synced 2026-03-11 13:26:16 +00:00
ok - progress!!
libssh can read the files saved!!
This commit is contained in:
@@ -182,7 +182,11 @@ class SSHHandler: ObservableObject {
|
||||
print(status)
|
||||
|
||||
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 {
|
||||
|
||||
Reference in New Issue
Block a user