2.0 Import Github SSH key
*PAT= placeholder name
-
In the sys-admin’s shell, ssh into the system 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)