From 0a54455495a8b6e72a1c28d6f896a96834495f66 Mon Sep 17 00:00:00 2001 From: Benson Muite Date: Sun, 18 Apr 2021 11:38:35 +0300 Subject: [PATCH] Use collapsible sections for connecting Use collapsible sections for connecting, follows https://gist.github.com/pierrejoubert73/902cc94d79424356a8d20be2b382e1ab though can possible add a template for this. Addresses https://github.com/hpc-carpentry/hpc-shell/issues/40 --- _episodes/01-connecting.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/_episodes/01-connecting.md b/_episodes/01-connecting.md index ac47ef0..03d0cf9 100644 --- a/_episodes/01-connecting.md +++ b/_episodes/01-connecting.md @@ -232,25 +232,30 @@ when using SSH keys and `ssh yourUsername@some.computer.address` if only password access is available. Let's attempt to connect to the HPC system now: + +
+ EdDSA Key ``` ssh -i ~/.ssh/key_{{ site.workshop_host }}_ed25519 yourUsername@{{ site.workshop_host_login }} ``` {: .language-bash} +
-or - +
+ RSA Key ``` ssh -i ~/.ssh/key_{{ site.workshop_host }}_rsa yourUsername@{{ site.workshop_host_login }} ``` {: .language-bash} +
-or if SSH keys have not been enabled - +
+ No SSH keys ``` ssh yourUsername@{{ site.workshop_host_login }} ``` {: .language-bash} - +
``` {% include /snippets/01/login_output.{{ site.workshop_host_id }} %}