pub(crate) async fn resolve_ssh_key(raw: &str) -> Result<String>Expand description
Resolve an --ssh-key CLI value into a SHA256 fingerprint.
Accepts three forms:
- Empty string (
--ssh-keywith no value): list keys from agent, interactive select. - File path (
--ssh-key ~/.ssh/id_ed25519.pub): read public key, compute fingerprint. - Fingerprint (
--ssh-key SHA256:...): use directly.