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

Compare with Current View Page History

Version 1 Next »

The linux based machines in the cloud runs an SSH daemon. After allowing port 22 incoming trough the security group in the virtual machine it is possible to log in trough ssh using the private part of the keypair used when creating the machine:

Log in to VM trough SSH
eigilo@access:~$ ssh debian@172.16.1.61 -i .ssh/id_rsa
The authenticity of host '172.16.1.61 (172.16.1.61)' can't be established.
ECDSA key fingerprint is SHA256:PIR85mFU0TiOZ0mXHz1ExMvds1D1YO1eF+/TTniAYfo.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '172.16.1.61' (ECDSA) to the list of known hosts.
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
debian@mysecondserver:~$

Usernames:

The various images uses different user-names. After login all images has sudo which allows the default user to become root. Reffer to this list to see which username the default user uses:

  • CentOS images: centos
  • Debian based images: debian
  • CirrOS (used for testing) has the username "cirros" and password "cubswin:)"
  • Fedora based images: fedora
  • Ubuntu based images: ubuntu
  • RedHat based images: cloud-user
  • No labels