OCI - Linux system administration

 OCI - Notes 


#ssh

note: opc user, is the most important user in a computer instance. ( password is not needed)

## ssh connect with private key

ssh -i private-key  -X opc@hostname  (no password is required)


note: We cannot connect with the opc user, is necessary to create a new unix user to access via console

## console connection with -i (with private key)

ssh -i ssh-key-2023-02-20.key -o ProxyCommand='ssh -i ssh-key-2023-02-20.key -W %h:%p -p 443 ocid1.instanceconsoleconnection.oc1.uk-london-1.anwgiljt4zjydfdfdfdlb4wk63bcbrzdb476tubn4hx2efdffdfyhm4lwhfa@instance-console.uk-london-1.oci.oraclecloud.com' ocid1.instance.oc1.uk-london-1.anwgiljt4zjy4pqc5irjiph2otsvqqntn7ttb2ovpt6err4eeweonyu4wlkq



Sem comentários: