You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Default Linux Users 

In the new Instances the following default users are created :

OSDefault username
Rocky Linuxcloud-user
Ubuntuubuntu

The ssh public key set during the Instance creation is added to the  "~/.ssh/authorized_keys" file of this default user.

Remote SSH Access

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 can be accessed directly via ssh, using the assigned external IP.

ssh <default username>@<external IP>

SSH access with private IP

If the instance is deployed with just the private network attached, 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 needs to be connected to both private and external networks, so that it can access the target private instance.

Follow one of these options to connect to the VM : 

  1. copy the "private key" to the gateway instance under your user's  "~/.ssh/" folder and then connect by using the gateway instance as the jump host (option -J):
    ssh -J <default username>@<gateway instance external ip> <default username>@<target instance private ip>
  2. use an "ssh-agent" to manage the authentication keys and forward the authentication agent connection (option -A), always through the jump host (option -J) :
    ssh -A -J <default username>@<gateway instance external ip> <default username>@<target instance private ip>

Console Access

The Openstack Horizon Dashboard allows to connect to the instance from a web console.

The console is accessed by clicking on the target Instance, and then selecting the Console tab.

  • No labels