Open Source Comes to Campus/UMD/Laptop setup/OSX SSH: Difference between revisions

From OpenHatch wiki
Content added Content deleted
imported>Jesstess
(Created page with 'SSH stands for "secure shell". It allows you to securely access a shell (like the command line window you used earlier) on a remote machine. Luckily for us, OS X comes with an SS…')
 
imported>Paulproteus
 
Line 5: Line 5:
# Start a command prompt. You can review how to do this in the [https://openhatch.org/wiki/Open_Source_Comes_to_Campus/UMD/Laptop_setup#Goal_.231:_practice_navigating_from_the_command_line command line navigation section].
# Start a command prompt. You can review how to do this in the [https://openhatch.org/wiki/Open_Source_Comes_to_Campus/UMD/Laptop_setup#Goal_.231:_practice_navigating_from_the_command_line command line navigation section].
# To create a secure shell on a remote machine, you run the command <tt>ssh &lt;username&gt;@&lt;hostname&gt;</tt>. You'll be prompted for the password for <tt>username</tt> on the remote host. After entering the password, a command prompt will be displayed, and voila -- you are logged in to a remote machine!
# To create a secure shell on a remote machine, you run the command <tt>ssh &lt;username&gt;@&lt;hostname&gt;</tt>. You'll be prompted for the password for <tt>username</tt> on the remote host. After entering the password, a command prompt will be displayed, and voila -- you are logged in to a remote machine!
# We have set up access to a Linux machine for you to play with. Here are the credentials for that machine:<pre>IP address: 50.56.182.28</pre><pre>Hostname: umd-workshop.openhatch.org</pre><pre>username: anyterp</pre><pre>password: terpterp</pre>Using that account information, and using the command template "<tt>ssh &lt;username&gt;@&lt;hostname&gt;</tt>", try using ssh to log into <tt>umd-workshop.openhatch.org</tt> as username anyterp.
# We have set up access to a Linux machine for you to play with. Here are the credentials for that machine:<pre>Hostname: umd-workshop.openhatch.org</pre><pre>username: anyterp</pre><pre>password: terpterp</pre>Using that account information, and using the command template "<tt>ssh &lt;username&gt;@&lt;hostname&gt;</tt>", try using ssh to log into <tt>umd-workshop.openhatch.org</tt> as username anyterp.
# This remote machine is running Linux, which uses the same commands as OS X for navigating the filesystem. Play around with those commands on <tt>umd-workshop.openhatch.org</tt>.
# This remote machine is running Linux, which uses the same commands as OS X for navigating the filesystem. Play around with those commands on <tt>umd-workshop.openhatch.org</tt>.


== Return to laptop setup ==
== Return to laptop setup ==

Latest revision as of 14:15, 25 February 2012

SSH stands for "secure shell". It allows you to securely access a shell (like the command line window you used earlier) on a remote machine. Luckily for us, OS X comes with an SSH client installed.

SSH instructions

  1. Start a command prompt. You can review how to do this in the command line navigation section.
  2. To create a secure shell on a remote machine, you run the command ssh <username>@<hostname>. You'll be prompted for the password for username on the remote host. After entering the password, a command prompt will be displayed, and voila -- you are logged in to a remote machine!
  3. We have set up access to a Linux machine for you to play with. Here are the credentials for that machine:
    Hostname: umd-workshop.openhatch.org
    username: anyterp
    password: terpterp
    Using that account information, and using the command template "ssh <username>@<hostname>", try using ssh to log into umd-workshop.openhatch.org as username anyterp.
  4. This remote machine is running Linux, which uses the same commands as OS X for navigating the filesystem. Play around with those commands on umd-workshop.openhatch.org.

Return to laptop setup

« Return to laptop setup