Open Source Comes to Campus/RPI/Laptop setup/Linux SSH: Difference between revisions

From OpenHatch wiki
Content added Content deleted
imported>Paulproteus
(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, most Linux distrib...")
 
imported>Paulproteus
No edit summary
 
Line 3: Line 3:
== SSH instructions ==
== SSH instructions ==


# 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 [[../#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>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: rpishell.openhatch.org</pre><pre>username: puckman</pre><pre>password: rpirules</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>rpishell.openhatch.org</tt> as username puckman.
# This remote machine is running Linux, so it uses the same commands for navigating the filesystem as those you practiced earlier. Play around with those commands on <tt>umd-workshop.openhatch.org</tt>.
# This remote machine is running Linux, so it uses the same commands for navigating the filesystem as those you practiced earlier. Play around with those commands on <tt>umd-workshop.openhatch.org</tt>.



Latest revision as of 04:35, 21 April 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, most Linux distributions come 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: rpishell.openhatch.org
    username: puckman
    password: rpirules
    Using that account information, and using the command template "ssh <username>@<hostname>", try using ssh to log into rpishell.openhatch.org as username puckman.
  4. This remote machine is running Linux, so it uses the same commands for navigating the filesystem as those you practiced earlier. Play around with those commands on umd-workshop.openhatch.org.

Return to laptop setup

« Return to laptop setup