vermin
vermin copied to clipboard
Create a ssh key pair for user at installation time
vermin - now - is more suitable for development and testing activities, and this is because it now uses one share ssh key pair located at https://github.com/mhewedy/vermin/tree/master/etc/keys
The point here is to create a key pair for the use at installation time, and on each new VM create, copy the public key inside the VM instead of shipping the images with a copy of the key in the link above.
Is there a formal process to take issues @mhewedy
Is there a formal process to take issues @mhewedy
Sorry I don't understand what you mean by "take issues", do you mean fixing issues? or creating issues?
If you mean fixing issues by submitting PRs, just mention in the issue that you are interested to work on, and then you are more than welcome.
Thanks.
The proposed solution is to do like Vagrant. is to create a new ssh key on VM creating and use it.
we might start from here: https://gist.github.com/devinodaniel/8f9b8a4f31573f428f29ec0e884e6673
Then copy the private key to the dir $HOME/.vermin/vms/<vm_name>
, and then copy the public key into the running VM into the file$HOME/.ssh/authorized_keys
and then remove the unsecure key from $HOME/.ssh/authorized_keys
Then start using the new private key in the ssh -i $HOME/.vermin/vms/<vm_name>/privatekey