{"id":18422698,"url":"https://github.com/li0ard/ssh2age","last_synced_at":"2025-09-11T14:20:40.297Z","repository":{"id":197707208,"uuid":"699163281","full_name":"li0ard/ssh2age","owner":"li0ard","description":"Convert SSH ed25519 keys to age keys","archived":false,"fork":false,"pushed_at":"2023-10-02T04:14:54.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-13T14:17:44.916Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/li0ard.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-10-02T04:03:55.000Z","updated_at":"2024-07-29T05:54:48.000Z","dependencies_parsed_at":"2023-10-02T05:49:28.979Z","dependency_job_id":null,"html_url":"https://github.com/li0ard/ssh2age","commit_stats":null,"previous_names":["li0ard/ssh2age"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/li0ard%2Fssh2age","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/li0ard%2Fssh2age/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/li0ard%2Fssh2age/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/li0ard%2Fssh2age/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/li0ard","download_url":"https://codeload.github.com/li0ard/ssh2age/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248724624,"owners_count":21151561,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-06T04:32:24.710Z","updated_at":"2025-04-13T14:17:50.120Z","avatar_url":"https://github.com/li0ard.png","language":"Go","readme":"# ssh2age\n\nConvert SSH ed25519 keys to [age](https://github.com/FiloSottile/age) keys. Just CLI for [ssh-to-age](https://github.com/Mic92/ssh-to-age).\n\n## Usage\n\n- Convert private key (without password)\n\n```console\n$ ssh2age -p -i $HOME/.ssh/id_ed25519 -o key.txt\n$ cat key.txt\n AGE-SECRET-KEY-1K3VN4N03PTHJWSJSCCMQCN33RY5FSKQPJ4KRRTG3JMQUYE0TUSEQEDH6V8\n```\n\n- Convert private key (with password)\n\n```console\n$ ssh2age -p -i $HOME/.ssh/id_ed25519 -o key.txt\n Enter SSH key password:\n$ cat key.txt\n AGE-SECRET-KEY-1K3VN4N03PTHJWSJSCCMQCN33RY5FSKQPJ4KRRTG3JMQUYE0TUSEQEDH6V8\n```\n\n- Convert public key\n\n```console\n$ ssh2age -i $HOME/.ssh/id_ed25519.pub -o pub-key.txt\n$ cat pub-key.txt\nage17044m9wgakla6pzftf4srtl3h5mcsr85jysgt5fg23zpnta8sfdqhzn452\n```\n\nssh2age also supports multiple public keys at once seperated by newlines and ignores unless ssh keys that are not in the ed25519 format. This makes it suiteable in combination with `ssh-keyscan`:\n\n```console\n$ curl \"https://github.com/orlp.keys\" | ssh2age\n...\nage1m6tk99c7q84g5luktuwve9d7pjz5zdfq7gt7w2rugc9nyn38eamqykdkh9\nage164qlju7r0wwvuxgwam328rrk732scce7ds3ktlg5pw57yx5qlywqusqup4\nage167f44ulejhgwm4ttrlpwsj99yr2evhgx234gjp5gtccdxmsrju4qrxdz2p\nskipped key: got ssh-rsa key type, but only ed25519 keys are supported\nage1ar0g7u4fsqpmzlx9u4k9v2k9hyr8642jt5h5jdly3takm4jhcutsh62j7m\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fli0ard%2Fssh2age","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fli0ard%2Fssh2age","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fli0ard%2Fssh2age/lists"}