Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Docker Container

To be added soon.

Appendix: Accessing you VM through ssh

There are several ways to access your VM box through ssh. Let's review the alternatives:

Accessing from host through private network

Let's say we want to access to acs01. From boxes_config.yml file we review earlier, the private network IP for the host is 10.10.10.10. Then:

Code Block
❯ ssh almamgr@10.10.10.10
The authenticity of host '10.10.10.10 (10.10.10.10)' can't be established.
ECDSA key fingerprint is SHA256:1BQ60Rqfa7c1xxdytYKpXoLHqJKL8izw48maYxzCsBw.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '10.10.10.10' (ECDSA) to the list of known hosts.
almamgr@10.10.10.10's password:
Last login: Sun Jul 26 22:55:45 2020 from 192.168.1.5
[almamgr@acs01 ~]$


Accessing from other Host in the Network through public IP

Let say we want to access from other computer in the network with ssh. From boxes_config.yml the public ip address is 192.168.1.155. Then:

Code Block
❯ ssh almamgr@192.168.1.155
almamgr@192.168.1.155's password:
Last login: Sun Jul 26 23:11:08 2020 from 192.168.1.5
[almamgr@acs01 ~]$


Accessing using vagrant ssh

Vagrant comes with their own tool to access a box through ssh. From the ansible_acsenv folder execute:

Code Block
❯ vagrant ssh acs01
Last login: Sun Jul 26 21:09:53 2020 from 10.0.2.2
/usr/bin/xauth:  file /home/vagrant/.Xauthority does not exist
[vagrant@acs01 ~]$


Appendix: Using RDP to connect to VM to display GNome Desktop


The VM comes preconfigured with RDP so that we can have access to Gnome Desktop to grab a Graphical Interface. There are tools:

Appendix: Using VirtualBox GUI to display GNome Desktop

...