Add New Proxmox User
*PAT= placeholder name
Create and Add SSH Keys to Github
On user’s shell (i.e. cmd):Just press Enter for the promptsMake sure to note where the SSH keys are being storedex) C:\Users\PAT/.ssh/
ssh-keygen
Paste the public key into user’s Github profileTitle can be anything (should note what machine it belongs to)Key type: Authentication Key
Edit SSH Config File
Create a new file called “config” (unless it already exists) and edit it with NotepadRemove 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 PAT
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 PAT
sudo usermod -aG sudo PAT
Change to the user:
sudo su PAT -
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 [PAT GITHUB USERNAME]
Connecting to Machine From Remote Device
Gather IP of target device
ip -br a
In windows powershell, type the following command:
ssh PAT@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
-
EXAMPLE:
Accessing the Proxmox Server
-
Open new shell (i.e. CMD)
-
Type in the following:
ssh [host] (the name in the C:\Users\PAT\.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
-