143 lines
No EOL
3 KiB
Markdown
143 lines
No EOL
3 KiB
Markdown
---
|
|
title: "Skynet"
|
|
sub_title: "Setup Skynet accounts"
|
|
author: "Brendan Golden"
|
|
date: "2023-09-23"
|
|
theme:
|
|
name: catppuccin-latte
|
|
---
|
|
|
|
Skynet: Setup
|
|
=================================
|
|
<!-- column_layout: [1, 6, 1] -->
|
|
<!-- column: 1 -->
|
|
<!-- incremental_lists: true -->
|
|
* We are going to divide it into two segments
|
|
* ``New Members``
|
|
* ``Returning Members``
|
|
* First up is ``New Members``
|
|
|
|
<!-- end_slide -->
|
|
|
|
Setup: New Members
|
|
=================================
|
|
<!-- column_layout: [1, 6, 1] -->
|
|
<!-- column: 1 -->
|
|
<!-- incremental_lists: true -->
|
|
1. Be a fully paid up member of UL Computer Society
|
|
2. Go to https://account.skynet.ie/signup.
|
|
* Enter the same email used for UL Wolves
|
|
3. You will get an email to verify your address, follow the link.
|
|
4. Choose a ``username`` and ``password``.
|
|
5. Congrats! You are in! _heist music_
|
|
|
|
<!-- end_slide -->
|
|
Setup: Returning Members
|
|
=================================
|
|
<!-- column_layout: [1, 6, 1] -->
|
|
<!-- column: 1 -->
|
|
# Set Email
|
|
<!-- incremental_lists: true -->
|
|
1. Please go to https://account.skynet.ie/modify.
|
|
* Enter the same email used for UL Wolves
|
|
2. Congrats! You are in! _heist music_
|
|
|
|
# Recovery
|
|
## Forgotten Username
|
|
If you have forgotten your ``username``.
|
|
Use https://account.skynet.ie/recover/username
|
|
|
|
## Forgotten Password
|
|
If you have forgotten your ``password``.
|
|
Use https://account.skynet.ie/recover/password
|
|
|
|
|
|
<!-- end_slide -->
|
|
Setup: SSH Key
|
|
=================================
|
|
<!-- column_layout: [1, 6, 1] -->
|
|
<!-- column: 1 -->
|
|
SSH keys are used for a variety of reasons:
|
|
|
|
<!-- incremental_lists: true -->
|
|
* Logging into servers
|
|
* Authentication
|
|
* CI/CD Pipelines
|
|
|
|
|
|
<!-- end_slide -->
|
|
Setup: SSH Key - Creation
|
|
=================================
|
|
<!-- column_layout: [1, 6, 1] -->
|
|
<!-- column: 1 -->
|
|
|
|
# Prepwork
|
|
```bash
|
|
cd ~/.ssh
|
|
mkdir skynet
|
|
cd skynet
|
|
```
|
|
|
|
# Creation
|
|
```bash
|
|
ssh-keygen -t ed25519 -C "<comment>"
|
|
```
|
|
|
|
* Location: ``$USERNAME``
|
|
* ``$USERNAME`` is your Skynet username.
|
|
* For example ``silver`` for me
|
|
* Password: Press Enter twice
|
|
* This sets no password on the file
|
|
|
|
This creates ``$USERNAME.pub`` which we will use later.
|
|
|
|
<!-- end_slide -->
|
|
Setup: SSH Key - Config
|
|
=================================
|
|
<!-- column_layout: [1, 6, 1] -->
|
|
<!-- column: 1 -->
|
|
|
|
Now we have to create a config file for ssh.
|
|
|
|
# Windows
|
|
```powershell
|
|
cd ../
|
|
"" > config
|
|
```
|
|
|
|
# Linux
|
|
```bash
|
|
cd ../
|
|
touch config
|
|
```
|
|
|
|
In that ``config`` file pop this:
|
|
```
|
|
Host *.skynet.ie
|
|
User $USERNAME
|
|
IdentityFile ~/.ssh/skynet/$USERNAME
|
|
IdentitiesOnly yes
|
|
```
|
|
|
|
<!-- end_slide -->
|
|
Setup: SSH Key - Account
|
|
=================================
|
|
<!-- column_layout: [1, 6, 1] -->
|
|
<!-- column: 1 -->
|
|
|
|
<!-- incremental_lists: true -->
|
|
* Now we need to add it to your account.
|
|
* Remember the ``$USERNAME.pub`` in ``~/.ssh/skynet`` ?
|
|
* We now need to read it
|
|
|
|
```bash
|
|
cat ~/.ssh/skynet/$USERNAME.pub
|
|
```
|
|
|
|
<!-- incremental_lists: true -->
|
|
* Copy the text and go to https://account.skynet.ie/modify
|
|
* Select the SSH Key field and submit.
|
|
|
|
|
|
Congratulations, you now have full access to all of Skynet's services!
|
|
Now to learn _how_ to access them! |