Oracle Cloud has no public key/private key/SSH KEY, and cannot log into VPS

Oracle Cloud has no public key/private key/SSH KEY, and cannot log into VPS

Oracle Cloud's free VPS is actually pretty good. Here's how to fix the problem of not being able to log into the VPS without a public key/private key/SSH KEY.

1. On the free VPS that cannot access the system, shut down and detach the boot volume

2. Create a new VPS and add the boot volume separated above

Don't select ISCSI below, select PARAVIRTUALIZED

3. Log in to the newly opened VPS. It is best to restart it and use the root user

 sudo -i

Check if the hard disk is mounted

 fdisk -l


Then, copy the entire hard drive to the non-bootable disk

 dd if=/dev/sda of=/dev/sdb

It takes a long time, probably about 2 hours.

To prevent network problems, you can use screen -S copy so that you don't have to worry about SSH being interrupted.

4. On the new machine, separate the boot disk

5. Go to the VPS that cannot be turned on and mount the boot disk

In this way, you can have fun playing the machine.

Reference: https://www.hostloc.com/thread-593802-1-2.html, https://www.hostloc.com/thread-593924-1-1.html

<<:  SiliconHouse: $39/month/E3-1230v2/32GB memory/2TB hard drive/20TB traffic/1Gbps bandwidth/Phoenix

>>:  SoyouStart: €25.99/month/E3-1225v2/16GB memory/6TB hard drive/unlimited traffic/250Mbps/France

Recommend

Secofrac: $16/month/4G memory/500GB space/25TB traffic/OpenVZ/Dallas

Secofrac is an American hosting company located i...

TragicServers: $20/year/256MB/10GB space/500GB traffic/KVM/Los Angeles

TragicServers, launched KVM VPS, data center in L...

Ramnode: $8/year/128MB memory/12GB SSD/500GB traffic/1 IP/OpenVZ

Ramnode, which has been introduced many times by ...

Treudler: €5.99/month/1GB RAM/500GB storage/unlimited traffic/KVM/Germany

Treudler, a foreign hosting company, was founded ...

AuroraCloud: Chinese Valentine's Day Event

Add 520CNY and get 100CNY for free Add 1314CNY an...

OdIndex: OneDrive list program based on PHP

OdIndex Features : Automatically renew the token ...

SpeedyKVM: $19.5/month/E3-1230/15GB memory/1.7TB space/20TB traffic/KVM/Dallas

SpeedyKVM is a direct sub-brand of Incero Compute...

oplink: $5/month/1GB RAM/40GB SSD/unlimited traffic/XEN/Houston

Oplink was first introduced in 2012. This time we...