13,420
edits
Changes
no edit summary
# For this section, you will be using your '''c7host''' and '''centos1''' VMs.
# From Switch to your '''c7host''' VM issue , open a terminal and remain logged in as a regular user.# Issue the ssh following command to connect to your '''centos1''' VM using the following command:<br /><b><code><span style="color:#3366CC;font-size:1.2em;">ssh -X -C username@centos1</span></code></b> (where 'username' 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 the connection is properly established, run the '''command <b><code><span style="color:#3366CC;font-size:1.2em;">gedit''' application. (Gnome Text Editor)</span></code></b>
# The ''gedit'' window will display on your '''c7host''' VM, but in reality, this application is running on your '''centos1''' VM!
# Enter some text and save a file with '''gedit'''your editing session.
# Exit the '''gedit''' application.
# In which VM was the file saved? What does that tell you about the use of tunneling for this section?
# Experiment with running other GUI applications through '''ssh'''.