2.0 Ricochet Access🎾
*BOB = placeholder name
Create and Add SSH Keys to Github
-
On user’s shell (i.e. cmd):
-
Just press Enter for the prompts
-
Make sure to note where the SSH keys are being stored
-
-
ex) C:\Users\BOB/.ssh/
-
-
ssh-keygen
-
Click on Github Profile > Settings > SSH and GPG keys > New SSH key
-
Paste the public key into user’s Github profile
-
Title can be anything (should note what machine it belongs to)
-
Key type: Authentication Key
Edit SSH Config File
-
EX) C:\Users\BOB\.ssh
-
Create a new file called “config” (unless it already exists) and edit it with Notepad
-
Remove any file extension from the file (e.g. .txt)
-
Enter the following:
Host pi-club-pve (can be changed to any name // this is what you SSH to later)
HostName raspberrypiclub.org
User BOB
LocalForward 8006 192.168.1.18:8006
Port 1666
-
Save the file
Import User’s SSH key
*BOB = placeholder name
-
In the sys-admin’s shell, ssh into your own ricochet and then escalate to superuser:
sudo su -
-
Add the new user and then add them to sudoers group:
sudo su adduser BOB
sudo usermod -aG sudo BOB
-
Change to the user:
sudo su BOB -
-
Import the user’s github keys so they can ssh into their ricochet on their computer:
-
If any new SSH keys from other devices are added, this command needs to be done again
ssh-import-id-gh [BOB GITHUB USERNAME]
Connecting to Machine From Remote Device
Gather IP of target device
ip -br a
In windows powershell, type the following command:
ssh BOB@x.x.x.x (x.x.x.x is the ip address that you gathered from the ip command)
Add New Proxmox User
-
Click on Datacenter (PIClubCluster) > Users > Add
-
Allow user to set their own username and password
-
Appoint user into appropriate group
Accessing the Proxmox Server
-
Open new shell (i.e. CMD)
-
Type in the following:
ssh [host] (the name in the C:\Users\BOB\.ssh config file // EX: ssh pi-club-pve)
-
In a new browser, type in: localhost:8006
-
Login with user’s username and password previously made
-
Make sure Realm: Proxmox VE authentication server