Title: Implement key formats and export file format function · Issue #96 · ParallelSSH/ssh-python · GitHub
Open Graph Title: Implement key formats and export file format function · Issue #96 · ParallelSSH/ssh-python
X Title: Implement key formats and export file format function · Issue #96 · ParallelSSH/ssh-python
Description: I'd like to be able to choose the format of the key Im generating, for example: ssh-keygen -m PEM`, but I can't see how to do it on the library. I was also trying other types of rsa keys (Maybe the default format would be the one I'm loo...
Open Graph Description: I'd like to be able to choose the format of the key Im generating, for example: ssh-keygen -m PEM`, but I can't see how to do it on the library. I was also trying other types of rsa keys (Maybe the...
X Description: I'd like to be able to choose the format of the key Im generating, for example: ssh-keygen -m PEM`, but I can't see how to do it on the library. I was also trying other types of rsa keys (M...
Opengraph URL: https://github.com/ParallelSSH/ssh-python/issues/96
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Implement key formats and export file format function","articleBody":"I'd like to be able to choose the format of the key I`m generating, for example: `ssh-keygen -m PEM`, but I can't see how to do it on the library.\nI was also trying other types of rsa keys (Maybe the default format would be the one I'm looking for), and it seems that they don't work: \n\nhttps://github.com/ParallelSSH/ssh-python/blob/master/ssh/keytypes.pyx#L53-L60\n\n```\nkey_type = keytypes.RSAKey()\nprint(key_type)\n```\nOutputs:\n`ssh-rsa`\n\n\n```\nkey_type = keytypes.RSA1Key()\nprint(key_type)\n\n```\nOutputs:\n`unknown`\n","author":{"url":"https://github.com/afaranha","@type":"Person","name":"afaranha"},"datePublished":"2025-04-25T11:19:06.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/96/ssh-python/issues/96"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:7daa24d9-4d51-9373-638f-3df7e7217de8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E856:2AB87B:8C9339:C32371:696A7FE7 |
| html-safe-nonce | 810ef15578665aefb7de26d5ef70b598f855d3e2791c405e082f9df87a6e5221 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFODU2OjJBQjg3Qjo4QzkzMzk6QzMyMzcxOjY5NkE3RkU3IiwidmlzaXRvcl9pZCI6Ijg5NDUyMzkzNTgyMTc4MTM5OTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 0441a26ee67c650e3c0f8eb9a747278456572b7ee5f4169e821c57bc6c3caf00 |
| hovercard-subject-tag | issue:3019764047 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/ParallelSSH/ssh-python/96/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5a389f4a37677e5696c0b3667bd225051617e7cbe536efc575e81ff2ff9e13d3/ParallelSSH/ssh-python/issues/96 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5a389f4a37677e5696c0b3667bd225051617e7cbe536efc575e81ff2ff9e13d3/ParallelSSH/ssh-python/issues/96 |
| og:image:alt | I'd like to be able to choose the format of the key Im generating, for example: ssh-keygen -m PEM`, but I can't see how to do it on the library. I was also trying other types of rsa keys (Maybe the... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | afaranha |
| hostname | github.com |
| expected-hostname | github.com |
| None | 913560fa317c3c5a71e34f9b19253c9f09d02b4b958a86c2a56f4c8541116377 |
| turbo-cache-control | no-preview |
| go-import | github.com/ParallelSSH/ssh-python git https://github.com/ParallelSSH/ssh-python.git |
| octolytics-dimension-user_id | 22918200 |
| octolytics-dimension-user_login | ParallelSSH |
| octolytics-dimension-repository_id | 135702111 |
| octolytics-dimension-repository_nwo | ParallelSSH/ssh-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 135702111 |
| octolytics-dimension-repository_network_root_nwo | ParallelSSH/ssh-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 5998c30593994bf2589055aef7b22d368a499367 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width