13,420
edits
Changes
no edit summary
=== Part 1: Enabling the sshd service. ===
# Use your '''c7host ''' machine to complete this section
# OpenSSH should have been installed by default. Lets confirm this by issuing the command:<br /> <b><code><span style="color:#3366CC;font-size:1.2em;">rpm -qa | grep ssh</span></code></b><
# You should see a number of packages installed including <code>openssh-clients</code> and <code>openssh-server</code>
You can also use ssh to tunnel window and bitmap information. Allowing us to login to a remote desktop host and run a Xwindows application such as <code>gedit</code> or <code>firefox</code> and the application will run on the remote host but be displayed on the local host.
# For this section, you will be using your '''centos1 ''' and '''centos2 ''' VMs.
# From centos2 '''ssh'' to '''centos1''' using the following command:<br /><b><code><span style="color:#3366CC;font-size:1.2em;">ssh -X -C user@centos1</span></code></b> (Where 'user' is your learn account on centos1)<br>(The '''-X''' option enables the forwarding of X window information, and the '''-C''' option enables compression for better performance).<br><br>
# Once connected run the '''gedit''' application. (Gnome Text Editor)
=== Investigation 6: How do you use ssh to tunnel other traffic. ===
# You will be working with the 2nd scenario of bypassing a firewall that blocks http traffic.
# In this investigation centos1 will be your http server and centos2 will be your client.