This is instructions on how you can connect to your Puppet Learning Virtual Machine with SSH.
If you're new to SSH, SSH = Secure Shell.
"Secure Shell is a cryptographic network protocol for operating network services securely over an unsecured network. Typical applications include remote command-line, login, and remote command execution, but any network service can be secured with SSH". - Wikipedia
While you can in directly and run the Puppet Learning VM quest in VirtualBox, you can consider using SSH to allow you to use your Terminal or Powershell on your computer to run your quest instead. As you will find it easier to manage.
On Mac OSX, you can use the default Terminal application or a third-party application like iTerm. For Windows, you can use the free SSH client PuTTY. https://www.putty.org/
Load up the Puppet Learning VM in VirtualBox.
If you have not already done this and need help getting your Puppet Learning VM set up in VirtualBox, instructions here.
Take note of the IP address, username and password.
In my example, this is:
On Mac OSX, you can use the default Terminal application or a third-party application like iTerm. For Windows, you can use the free SSH client PuTTY. https://www.putty.org/
I am using a Mac, so I will be using iTerm as my default SSH client. I can also use the Terminal which is the default Terminal application on my Mac as well. Up to you on which you prefer here, as both will work.
Run ssh <username>@<ipaddress>, you do this by typing in the following in your terminal.
Using the details we noted earlier in Step 2, these are:
ssh root@192.168.50.40
where
This will allow you to connect to the Puppet Learning VM with the login root and password you noted from the splash page. (e.g. ssh <username>@<ipaddress>)
If you missed the IP address or password earlier, you can run the following commands to get it and use that for this step as well.
facter ipaddress
cat /var/local/password
Start using your Terminal to remotely log and manage your Puppet Learning Virtual Machine (VM).
Please take note that several minutes for the services in the Puppet Enterprise (PE) stack to fully start after the VM boots.
Once you’re connected to the VM, it is generally good practice to update the clock on your virtual machine instance from NTP.
You can do this by running this command:
ntpdate pool.ntp.org
Start having fun on your quest with the Puppet Learning VM!
Here's an example from my iTerm view