Skip to content
Snippets Groups Projects

Update anvil guide 2

Merged Adam Caprez requested to merge update-anvil-guide-2 into master
105 files
+ 282
741
Compare changes
  • Side-by-side
  • Inline
Files
105
1. [HCC-DOCS](index.html)
+++
2. [HCC-DOCS Home](HCC-DOCS-Home_327685.html)
title = "Connecting to Linux Instances from Mac"
3. [HCC Documentation](HCC-Documentation_332651.html)
description = "How to connect to Linux-based instance from a Mac"
4. [Anvil: HCC's Cloud](13042760.html)
+++
<span id="title-text"> HCC-DOCS : Connecting to Linux Instances from Mac </span>
================================================================================
Created by <span class="author"> Adam Caprez</span>, last modified on
Feb 11, 2016
<span
class="aui-icon aui-icon-small aui-iconfont-warning confluence-information-macro-icon"></span>
 
{{% notice info %}}
This guide assumes you associated your SSH Key Pair with the instance
This guide assumes you associated your SSH Key Pair with the instance
when it was created, and that you are connected to the [Anvil
when it was created, and that you are connected to the [Anvil VPN]({{< relref "connecting_to_the_anvil_vpn" >}}).
VPN](Connecting-to-the-Anvil-VPN_13042829.html).
{{% /notice %}}
Access to Linux instances is via standard SSH, however SSH keys are used
Access to Linux instances is via standard SSH, however SSH keys are used
as opposed to entering a username and password.
as opposed to entering a username and password.
@@ -22,65 +14,39 @@ as opposed to entering a username and password.  
@@ -22,65 +14,39 @@ as opposed to entering a username and password.  
Start the built-in *Terminal* application, located in the *Utilities*
Start the built-in *Terminal* application, located in the *Utilities*
folder under *Applications.*
folder under *Applications.*
<span
{{< figure src="/images/13599111.png" width="598" height="67" >}}
class="confluence-embedded-file-wrapper confluence-embedded-manual-size"><img src="assets/images/13599097/13599111.png" class="confluence-embedded-image confluence-content-image-border" width="598" height="67" /></span>
Login into the web dashboard
Login into the web dashboard atn https://anvil.unl.edu.
at <a href="https://anvil-beta.unl.edu/" class="external-link">https://anvil-beta.unl.edu</a>.
From the left-hand side menu, choose *Instances.*
From the left-hand side menu, choose *Instances.*
*<span
{{< figure src="/images/13599115.png" width="226" height="374" >}}
class="confluence-embedded-file-wrapper confluence-embedded-manual-size"><img src="assets/images/13599097/13599115.png" class="confluence-embedded-image confluence-content-image-border" width="226" height="374" /></span>*
This will show a table with the running instances and a few details
This will show a table with the running instances and a few details
about them. Take note of the *IP address* entry; this is the address
about them. Take note of the *IP address* entry; this is the address
that will be used to connect.
that will be used to connect.
<span
{{< figure src="/images/13599117.png" width="1064">}}
class="confluence-embedded-file-wrapper confluence-embedded-manual-size"><img src="assets/images/13599097/13599117.png" class="confluence-embedded-image confluence-content-image-border" width="1064" height="133" /></span>
In this example, the private key file is assumed to be on the desktop,
In this example, the private key file is assumed to be on the desktop,
and named `anvil_key`. Depending on which Linux OS you're using in your
and named `anvil_key`. Depending on which Linux OS you're using in your
instance, the username to use will be different. See the [Available
instance, the username to use will be different. See the
Images](Available-Images_13042823.html) page for a table with the
[Available Images]({{< relref "available_images" >}})
username to use for each OS. In the *Terminal* application, run the
page for a table with the username to use for each OS.
command `ssh -i ~/Desktop/anvil_key centos@<ip address>`, substituting
In the *Terminal* application, run the commandi
the IP address of your instance. For the example here, it would look
 
{{< highlight bash >}}ssh -i ~/Desktop/anvil_key centos@<ip address> {{< /highlight >}}
 
 
substituting the IP address of your instance. For the example here, it would look
like:
like:
<span
{{< figure src="/images/13599205.png" >}}
class="confluence-embedded-file-wrapper"><img src="assets/images/13599097/13599205.png" class="confluence-embedded-image" /></span>
The first time you connect, you will get a warning; type `yes` and hit
The first time you connect, you will get a warning; type `yes` and hit
Enter to continue connecting. Subsequent connections will not show this
Enter to continue connecting. Subsequent connections will not show this
warning.
warning.
<span
{{< figure src="/images/13599208.png" >}}
class="confluence-embedded-file-wrapper"><img src="assets/images/13599097/13599208.png" class="confluence-embedded-image" /></span>
You will now be logged into your instance and can use it.
You will now be logged into your instance and can use it.
<span
{{< figure src="/images/13599212.png" width="592" >}}
class="confluence-embedded-file-wrapper confluence-embedded-manual-size"><img src="assets/images/13599097/13599212.png" class="confluence-embedded-image" width="592" height="376" /></span>
Attachments:
------------
<img src="assets/images/icons/bullet_blue.gif" width="8" height="8" />
[mac1.png](attachments/13599097/13599111.png) (image/png)
<img src="assets/images/icons/bullet_blue.gif" width="8" height="8" />
[connecting1.png](attachments/13599097/13599115.png) (image/png)
<img src="assets/images/icons/bullet_blue.gif" width="8" height="8" />
[connecting2.png](attachments/13599097/13599117.png) (image/png)
<img src="assets/images/icons/bullet_blue.gif" width="8" height="8" />
[connecting3.png](attachments/13599097/13599205.png) (image/png)
<img src="assets/images/icons/bullet_blue.gif" width="8" height="8" />
[connecting4.png](attachments/13599097/13599209.png) (image/png)
<img src="assets/images/icons/bullet_blue.gif" width="8" height="8" />
[connecting4.png](attachments/13599097/13599208.png) (image/png)
<img src="assets/images/icons/bullet_blue.gif" width="8" height="8" />
[connecting5.png](attachments/13599097/13599212.png) (image/png)
Loading