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/
-
-
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
- 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:
-
Save the file
-
In the sys-admin’s shell, ssh into your own ricochet and then escalate to superuser:
-
Add the new user and then add them to sudoers group:
-
Change to the user:
-
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
-
Click on Datacenter (PIClubCluster) > Users > Add
-
Allow user to set their own username and password
-
Appoint user into appropriate group
-
Open new shell (i.e. CMD)
-
Type in the following:
-
In a new browser, type in: localhost:8006
-
Login with user’s username and password previously made
-
Make sure Realm: Proxmox VE authentication server
ssh-keygen |
Edit SSH Config File
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 |
Import User’s SSH key
*BOB = placeholder name
sudo su - |
sudo su adduser BOB
|
sudo su BOB - |
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 |
Add New Proxmox User
Accessing the Proxmox Server
ssh [host] (the name in the C:\Users\BOB\.ssh config file // EX: ssh pi-club-pve) |