07-26-2023, 11:15 PM
I'm implementing the Whmcs application through Amazon Lightsail ModulesGarden, following the [Amazon Lightsail For WHMCS][1] document guide. In the setting step, I turned on the Auto Generate SSH Key mode. After placing an order successfully I got a detailed invoice and in the database inserted automatically an ssh key record. However I don't know the right way to use it to connect to the server.
I trying to copy the value in the private_key column and paste into a new file and use it like a RSA file.
[![enter image description here][2]][2]
```
$ ssh -i ssh_rsa <username>@<public IP>
output: Load key "ssh_rsa": invalid format
```
[1]:
I trying to copy the value in the private_key column and paste into a new file and use it like a RSA file.
[![enter image description here][2]][2]
```
$ ssh -i ssh_rsa <username>@<public IP>
output: Load key "ssh_rsa": invalid format
```
[1]:
[To see links please register here]
[2]: