Open main menu

CDOT Wiki β

Changes

OPS235 Lab 2 19

No change in size, 12:16, 4 September 2013
no edit summary
<ol>
<li value="2728">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