Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

Commit

Permalink
Use collapsible sections for connecting
Browse files Browse the repository at this point in the history
Use collapsible sections for connecting, follows https://gist.github.com/pierrejoubert73/902cc94d79424356a8d20be2b382e1ab though can possible add a template for this. Addresses #40
  • Loading branch information
bkmgit authored Apr 18, 2021
1 parent bc2ce75 commit 0a54455
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions _episodes/01-connecting.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,25 +232,30 @@ when using SSH keys and `ssh [email protected]` if only
password access is available. Let's attempt to connect to the HPC system
now:


<details>
<summary> EdDSA Key</summary>
```
ssh -i ~/.ssh/key_{{ site.workshop_host }}_ed25519 yourUsername@{{ site.workshop_host_login }}
```
{: .language-bash}
</details>

or

<details>
<summary> RSA Key</summary>
```
ssh -i ~/.ssh/key_{{ site.workshop_host }}_rsa yourUsername@{{ site.workshop_host_login }}
```
{: .language-bash}
</details>

or if SSH keys have not been enabled

<details>
<summary> No SSH keys</summary>
```
ssh yourUsername@{{ site.workshop_host_login }}
```
{: .language-bash}

</details>

```
{% include /snippets/01/login_output.{{ site.workshop_host_id }} %}
Expand Down

0 comments on commit 0a54455

Please sign in to comment.