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

Simon Green mail at simon.green
Sat Jun 18 22:05:19 AEST 2022


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.

-- 
Simon


More information about the Flounder mailing list