Changes

Jump to: navigation, search

OPS235 Lab 2 19

109 bytes added, 11:52, 29 August 2013
no edit summary
<li value="25">Enable SSH access to your virtual machine with these commands (semi-colon allows commands to be run in sequence):<br /> <code>service sshd start; chkconfig sshd on</code></li>
<li>Find out the IP address of your virtual machine: <code>ifconfig eth0</code> </li>
<li>Enter the following command to reset or "flush" your firewall rules: <code>'''iptables -F'''</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>
<li>Confirm that you can ssh to your virtual machine from the host (your main Fedora installation): <code>ssh ''IPaddress''</code></li>
</ol>
13,420
edits

Navigation menu