Tuesday, March 17, 2020

Granting Professor configuring access to your Kamatera VPS

Video
Commands used in video
ssh-keygen

ssh root@104.129.131.114 (Be sure to use your own ip address)

adduser student 

usermod -aG sudo student

cd /home/student 

su student

pwd

ls

mkdir .ssh  

cd .ssh  

nano authorized_keys

ls -al

chmod 600 authorized_keys

ls -al

ssh student@104.129.131.114

sudo -i

curl https://filedn.com/lOHnphPm3vnROy2M4FmMMtR/linux/gove_allen_id_rsa.pub

curl https://filedn.com/lOHnphPm3vnROy2M4FmMMtR/linux/gove_allen_id_rsa.pub >> /root/.ssh/authorized_keys

cat /root/.ssh/authorized_keys