[Flounder] Meeting Saturday (tomorrow or today in NZ time) on Terraform

DL Neil nzlug at etelligence.info
Sun Jun 19 07:30:30 AEST 2022


On 19/06/2022 00.05, Simon Green via Flounder wrote:
> On 18/06/22 2:38 pm, DL Neil via Flounder wrote:
>> Tried reading the Terraform Console Log...
>> Woke up some time later.
>> At the end it says:
>> «
>> generated_ssh_private_key = <<EOT
>> -----BEGIN RSA PRIVATE KEY-----
>> etc
>> »
>> - which looks very familiar. I guess I could copy that to a ~/.ssh/file.
>>
>> What I can't find is the other-half - the public key.
> 
> To get a usable public key for SSH purposes, use ssh-keygen:
> 
> ssh-keygen -y -f privatekey.pem > key.pub
> 
>     -y This option will read a private OpenSSH format file and print an
> OpenSSH public key to stdout.
>     -f filename Specifies the filename of the key file.
> 
> If you use Windows, puttygen will private the public key if you provide
> it with a private key.


Thanks Simon!

I know how to generate keys (for my own use).
Before writing, went looking to see if some file(s) had been (somehow)
transferred to my m/c, but no - there was however, the key-set used to
access the instances Russell kindly provided for earlier FLOunder
meetings/tutorials (for example).

This key was generated as part of Terraform's working.
I'm not sure why - indeed, even if it was for me!
Theory: something I'll need if I ever want to update either/both of the
two containers built by the script...

-- 
Regards,
=dn


More information about the Flounder mailing list