Changes

Jump to: navigation, search

OPS335 Lab 1

597 bytes added, 14:26, 13 January 2016
no edit summary
The default (and often the only) way to administer a linux server is via SSH. Even in your case where you have a direct console to all your VM screens you may find it helpful to connect to your virtual machines using SSH (if nothing else - you can resize the terminal window).
 
=== Managing Services ===
The SSH server should be installed and running in your VMs. If it's not installed - you can install '''openssh-server''' using yum. Whether it is running or not - you should practice the following commands to make sure you know how to use them, you'll need them for nearly every topic this semester:
# Note the following commands (refer to man pages or the Internet) to learn how to use them. :* '''systemctl start/stop''':* '''systemctl enable/disable''':* '''systemctl status''' <ol><li value="2">Move to your vm2.</li><li>Use one of the commands above to check the status of your SSH server.></li><li>Now, issue one of the above commands to stop of the ssh server and run a command to verify that the ssh server is no longer running.</li><li>Issue one of the above commands to start the SSH server and verify that it is running.</li><li>Issue a command not listed above to confirm that the ssh service will run upon the next vm1 startup.</li></ol>
=== SSH Keys ===
Using the magic of public key cryptography you can SSH to a linux machine without using a password. This topic is crucial - not only for this course but in the industry, SSH keys are used everywhere that linux servers are used.
13,420
edits

Navigation menu