...
In the new Instances the following default users are created :
| OSUsername | Default username |
|---|---|
| Rocky Linux | cloud-user |
| Ubuntu | ubuntu |
The ssh public key set during the Instance creation is added to the "~/.ssh/authorized_keys" file of the this default user.
Remote SSH Access
| Info |
|---|
| The access to the Instances on CCI is supported only via ssh keys authentication. Password authentication is disabled. |
SSH access with external IP
If the VM is deployed with access to the "external-internet" or with floating-ip attached then it could can be accessed directly via ssh by , using the assigned external IP.
| Code Block |
|---|
ssh <default username>@<external IP> |
SSH access with private IP
If the instance is deployed with just the private network attached then , it is not directly accessible from the internet and requires an additional instance deployed in the project that acts as a gateway to the private instance.
This "gateway" or "bastion" instance need needs to be connected to both private and external networks, so that it can be used to access the target private instance.
it is possible to follow Follow one of these options to get access connect to the VM :
- setup copy the "private key" to the proxy gateway instance under the your user's "~/.ssh/" folder and then connect by using the gateway instance as the jump host (option -J):
Code Block ssh -J <default username>@<gateway instance external ip> <default username>@<target instance private ip>
- use a an "ssh-agent" for managing to manage the authentication keys authentication and forward the authentication agent connection (option -A), always through the jump host (option -J) :
Code Block ssh -A -J <default username>@<gateway instance external ip> <default username>@<target instance private ip>
...
The Openstack Horizon Dashboard offers the possibility allows to connect to the instance from a web console.
The console can be access is accessed by clicking in on the target Instance, and from the Instance page select then selecting the Console tab.
