Implement SSH Phase 9: Publickey authentication
Some checks failed
Test / test (push) Has been cancelled
Test / build (push) Has been cancelled

- Add handle_publickey_auth() with authorized_keys verification
- Support SSH_MSG_USERAUTH_PK_OK response (query phase)
- Add base64 decoding for SSH public keys
- Publickey auth now working: ssh, sftp, scp all support
- Eliminates password requirement with authorized_keys setup
This commit is contained in:
Warren
2026-06-15 13:54:57 +08:00
parent b66f727622
commit 012920e590
3 changed files with 130 additions and 4 deletions

1
data/authorized_keys Normal file
View File

@@ -0,0 +1 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGCVU6GkpEHDpyaMRX+Ihf18nb00M/sGW9uy03WmeGKp warren@accusys.com.tw