・ OS Select Ubuntu
・ SSH Key Select to create a new key Download Key with "+ Add"
Rent a server with this setting
Start a terminal and change to the directory containing the public key you downloaded earlier.
cd Downloads/
Next, type the following command to give the read permission of the downloaded public key only to the PC owner. xxxxx.pem is the name of the downloaded file.
chmod 400 xxxxx.pem
Finally, type the following command to log in with your public key If successful, welcome to ~~~~~ This time log in with the root account For the IP address, enter the IP address of the rental server rented at ConoHa.
ssh -i xxxxx.pem root@<IP address>
Recommended Posts