mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-06 16:31:08 +00:00
13 cloud providers had identical 5-line check_ssh_key functions that fetch SSH keys from the provider API and grep for the fingerprint. Extract this pattern into a shared check_ssh_key_by_fingerprint helper in shared/common.sh, reducing each cloud's function to a single line. Affected clouds: BinaryLane, Cherry, Civo, Contabo, DigitalOcean, Genesis Cloud, Hetzner, Hostinger, Latitude, Linode, OVH, Scaleway, Vultr. Agent: complexity-hunter Co-authored-by: A <6723574+louisgv@users.noreply.github.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| common.sh | ||