Skip to main content

2.0 Import User’s SSH key

*PAT= placeholder name 

*BOB = placeholder name

  1. In the sys-admin’s shell, ssh into yourthe own ricochetsystem and then escalate to superuser:

sudo su -
  1. Add the new user and then add them to sudoers group:

sudo su adduser PAT
sudo usermod -aG sudo PAT
  1. Change to the user:

sudo su PAT -
  1. Import the user’s githubGitHub 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 windowsWindows powershell,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)