1. read the cloud provider instruction
Add your SSH Key
SSH Keys are a secure way to log into your instances through SSH. To generate your key, run ssh-keygen -t rsa -b 4096 -C "firstname.lastname@example.org" in your terminal.
2. generate keypair and add public key to server
3. try to add private key in PhpStorm