Bart van Heukelom Asked: 2012-06-15 00:44:04 +0800 CST2012-06-15 00:44:04 +0800 CST 2012-06-15 00:44:04 +0800 CST Can ssh-keygen be seeded to generate the same key? 772 Is it possible to seed ssh-keygen with a fixed string so that it consistently generates the same keypair? security ssh 3 Answers Voted Chris S 2014-08-15T06:26:18+08:002014-08-15T06:26:18+08:00 No. You can pick certain criteria which may reduce the randomness of the generated key, but the generation process is not a simple as picking a particular seed from which the keys are generated. Panik 2019-01-08T03:22:42+08:002019-01-08T03:22:42+08:00 You can, just not with the default ssh-keygen. I personally use ssh-key-generator kvaps 2020-08-14T12:15:17+08:002020-08-14T12:15:17+08:00 Here is another cool tool for generating deterministic ssh keys: cornfeedhobo/ssh-keydgen, it's written on go
No. You can pick certain criteria which may reduce the randomness of the generated key, but the generation process is not a simple as picking a particular seed from which the keys are generated.
You can, just not with the default ssh-keygen. I personally use ssh-key-generator
Here is another cool tool for generating deterministic ssh keys: cornfeedhobo/ssh-keydgen, it's written on go