diff --git a/.gitignore b/.gitignore index c30e780..6d11c14 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ -exercise/solution _includes \ No newline at end of file diff --git a/_config.yml b/_config.yml index a02e5b7..f9568f3 100644 --- a/_config.yml +++ b/_config.yml @@ -1,4 +1,4 @@ -theme: jekyll-theme-dinky +theme: jekyll-theme-hacker # markdown: kramdown # kramdown: diff --git a/exercise/solution/images/cmd_3.png b/exercise/solution/images/cmd_3.png new file mode 100644 index 0000000..e32fb06 Binary files /dev/null and b/exercise/solution/images/cmd_3.png differ diff --git a/exercise/solution/images/cmd_4.png b/exercise/solution/images/cmd_4.png new file mode 100644 index 0000000..ac1d7be Binary files /dev/null and b/exercise/solution/images/cmd_4.png differ diff --git a/exercise/solution/images/putty_2.png b/exercise/solution/images/putty_2.png new file mode 100644 index 0000000..96f5a23 Binary files /dev/null and b/exercise/solution/images/putty_2.png differ diff --git a/exercise/solution/images/putty_3.png b/exercise/solution/images/putty_3.png new file mode 100644 index 0000000..b7d907e Binary files /dev/null and b/exercise/solution/images/putty_3.png differ diff --git a/exercise/solution/images/putty_4.png b/exercise/solution/images/putty_4.png new file mode 100644 index 0000000..5cce72e Binary files /dev/null and b/exercise/solution/images/putty_4.png differ diff --git a/exercise/solution/images/putty_6.png b/exercise/solution/images/putty_6.png new file mode 100644 index 0000000..ac48a30 Binary files /dev/null and b/exercise/solution/images/putty_6.png differ diff --git a/exercise/solution/part-1.md b/exercise/solution/part-1.md new file mode 100644 index 0000000..dfc2618 --- /dev/null +++ b/exercise/solution/part-1.md @@ -0,0 +1,45 @@ +# Logging in + +The following are procedures for logging in to the COARE HPC via the following OS: Windows, Mac, and Linux. + +## Table of Contents +* [For Windows](#for-windows) + * [PuTTY](#putty) + * [Command Prompt (for windows 10 only)](#command-prompt-for-windows-10-only) +* [For Mac/Linux](#for-maclinux) + +## For Windows +### PuTTY +1. Download and run **PuTTY** application. + * [32-bit:](https://the.earth.li/~sgtatham/putty/latest/w32/putty.exe) + * [64-bit:](https://the.earth.li/~sgtatham/putty/latest/w64/putty.exe) +2. Set port number to **22** and the **Host Name** to **saliksik.asti.dost.gov.ph.** +![putty_2](images/putty_2.png) + +3. On the left panel under Category, collapse the **Connection** option and select the **SSH** option, and then click **Auth**. Select **Browse** to attach your **private key** (.ppk file) for authentication. Then click Open. +![putty_3](images/putty_3.png) + +4. Select **Yes** when prompted by a PuTTY Security Alert Window. +![putty_4](images/putty_4.png) + +5. When the terminal opens, enter your COARE credentials that should have been sent to your email. +6. You are now inside the HPC frontend if you see this (see image below) on your terminal. +![putty_4](images/putty_6.png) + + NOTES: + * Accessing HPC must be passwordless unless you have a passphrase during the generating of keys. + * If you want to use your key (generated using PuTTY) in OpenSSH, check this tutorial on converting PuTTY (.ppk) key to SSH Key. + * You cannot use your OpenSSH keys to PuTTY and vice versa. + +### Command Prompt (for windows 10 only) +1. Open **Command Prompt** or **Windows PowerShell**. +2. Type command: +``` +ssh @saliksik.asti.dost.gov.ph +``` +| Flag | Description | +| -------- | -------- | +| -i | Data | +| Data | Data | +| Data | Data | +## For Mac/Linux \ No newline at end of file diff --git a/exercise/solution/part-2.md b/exercise/solution/part-2.md new file mode 100644 index 0000000..e69de29 diff --git a/exercise/solution/part-3.md b/exercise/solution/part-3.md new file mode 100644 index 0000000..e69de29