That is a tricky part of the instruction. For this setup, it’s not a key-pair that will be added on your PC and the server, but on Cleavr and the server.
Click on ‘Download Private Key’ - remember where private key downloads to on your device
Click the Add button
You’ll then see the fingerprint ID
In Cleavr, you’ll need the private key and the fingerprint id from above. Find the private key file that was downloaded during steps above and add the full contents into ‘Private Key’ text area in Cleavr.
@amiedema Oracle has amazing support, they fixed my account so now when i woke up (7AM in Sweden) it’s all good and i will start your tutorial again. Just wish the SSH steps were more clear in the video. I guess the key you pasted in the video is that one from “Download private key” right?
I will let you know about my progress.
I guess you are sleeping now so god morning to you when you wake up
In the step where one has to ssh into the ubuntu on oracle i get:
peter@Mac-mini-work ~ % ssh ubunutu@129.151.194.155
The authenticity of host '129.151.194.155 (129.151.194.155)' can't be established.
ED25519 key fingerprint is SHA256:C4tpWkuittrEIcj+1WQTgZYJi88JLtZotwRuBaiyL4s.
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '129.151.194.155' (ED25519) to the list of known hosts.
ubunutu@129.151.194.155: Permission denied (publickey).
peter@Mac-mini-work ~ %
I have search for hours since this oriblem started yesterday but i cant find any solution.
This time i guess that the SSH problem is between my Mac and oracle?
@anish this is the problem i cant ssh into ubuntu so how can i add it?
IN Hetzner i could open a terminal and run commands like the one i have to run while provisioning a oracle server but i cant ssh into it. i have tryed frrom other computers.
Did i miss anything in the unstructions above while creating the vm on oracle. i downloaded the private key but i just left it on my mac. Should i have done something more in that step?
in the video there is not the same content that i get in the key i downloaded from oracle
I see this on my oracle insstance but i dont know how to move on:
Instance access
You connect to a running Linux instance using a Secure Shell (SSH) connection. You’ll need the private key from the SSH key pair that was used to create the instance.
You need to do that from the Oracle UI. While creating a new VM instance there is an option to add SSH key. In there just paste the key you get from execution of this command in your device: cat ~/.ssh/id_rsa.pub (this is the deafult path).
I hope this helps. Do lets us know if this doesn’t work.
Also, if you’ve already created an instance you’ll need to search an option to Add SSH Key from the Oracle UI and do the same.
sorry to bother you like this on a week end but i really need to put up some instances for super low traffic sites. I intend to create one instans for each site.
Do you know if there is a limit on free micro instances?
But i’m glad that i don’t have any hair to rip of otherwise i would cause it still wont work to ssh into oracle instance from my mac
peter@Mac-mini-work ~ % ssh ubunutu@129.151.209.111
The authenticity of host '129.151.209.111 (129.151.209.111)' can't be established.
ED25519 key fingerprint is SHA256:QiXT4Vdgf+aQp9ncnbqlPWGzlUFtsacsShygK+WO3b0.
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '129.151.209.111' (ED25519) to the list of known hosts.
ubunutu@129.151.209.111: Permission denied (publickey).
I can only think that there is something wrong with all ssh files on my computer. I will be happy to give you what you need to try from you computer.
Please help me as my customer expect the site to be up and running on monday
@amish please use your karate skills to figure this out
In the meen time i will try to create a new instance from a different computer MacBook Pro.
Im so scared that i will mess something up on my “main computer” regarding ssh so i destroy any critical connections i have now.
But just to be clear, in step 3 ssh i shall do two things:
download the “Download private key” to use with cleavr–oracle instance
run your comman on my local mac to get the public key and paste it in
Is this correct?
Again, sorry to bother you with this but googeling ubuntu Permission denied (publickey) mac gives me 515 000 results so i guess i’m not the only one frustrated.
Follow all the steps exactly as mentioned for a new instance from the start of the video. But at this time Launch a FREE Oracle Cloud VPS Server with Cleavr - YouTube input the SSH key you get by running this command: cat ~/.ssh/id_rsa.pub
In this step while adding SSH Key don’t forget to select Paste Public Keys.
If following all these still doesn’t work we’ll try to find a different way to solve this. We can also setup a zoom meeting to figure this out.
i will try to create a new oracle instance from a different computer and if i get the same error i’ll get back to you an maybe we can try somthing more hands on
Maybe just to rule out macos if you have a Windows machine you could try to ssh into my oracle instance just to see if it works?
There is a limit of 2 Oracle Micro instances that are free. Keep in mind, when you first sign up to Oracle they may give you credit but the max that they offer for free is two.
but my intention of using oracle free was when i only have like one html page during development and i guess i can have e few different domains pointing to either of thoose two servers?