Changes

Jump to: navigation, search

OPS235 Lab 2 19

1 byte added, 11:16, 4 September 2013
no edit summary
<ol>
<li value="23">From your Virtual Machine Manager window, start your '''fedora1''' virtual machine (remember to press the '''Play''' button to start the VM).</li>
<li>Log into your '''fedora1''' VM as a regular user (you created during the installation process).</li>
<li>Open a terminal (shell), and log into '''root'''.</li>
<ol>
<li value="2627">Enable SSH access to your virtual machine with these commands (semi-colon allows commands to be run in sequence):<br /> <code>'''systemctl start sshd; systemctl enable sshd.service'''</code></li>
<li>Find out the IP address of your virtual machine: <code>'''ifconfig eth0'''</code> </li>
<li>Enter the following command on your virtual machine to create a firewall exception to allow ssh traffic into the machine:<br /> <code>'''iptables -I INPUT -p tcp -s0/0 -d0/0 --dport 22 -j ACCEPT'''</code></li>
13,420
edits

Navigation menu