Go to main content

Using Oracle® Compute Cloud Service - Dedicated Compute Capacity - SPARC Model 300

Exit Print View

Updated: April 2018
 
 

Delete an SSH Public Key

You can stop the public key from accessing all hosts or an individual host.

  • Complete one of these steps to stop public key access.
    • Stop all hosts accessing an instance with its public key.

      Delete the corresponding private key file on the instance located at /export/home/user_name/.ssh/id_rsa.

    • Stop an individual host from accessing a server with a public key.

      Delete the corresponding public key entry from the file on the remote host at /export/home/user_name/.ssh/authorized_keys.


      Caution

      Caution  -  Do not remove all private keys from the instance, Doing so will prevent all access to the instance rendering it inaccessible.