This repository contains virtual box installation, ssh remote access using valgrind in linux and related stuff
Installation
su root
apt install sudo
sudo apt update
sudo apt upgrade
Setting up nonroot user:
sudo adduser <login>
-> asks information about usersudo adduser <login> sudo
-> give sudo privilages to
Install commands: make, gcc, ssh
sudo apt-get install ssh
sudo /etc/init.d/ssh restart
sudo apt-get install gcc
sudo apt-get install make
Create SSH-key for host user:
ssh-keygen -t rsa
scp -P <portnumber> .ssh/id_rsa.pub username@***.***.***.***:~/.ssh/authorized_keys2
-> to copy the public key file to your remote computer.scp -rP <portnumber> ~/ft_ls/ username@***.***.***.***:~/
-> to copy your files/directories (recursively) into your virtual machine
Install Valgrind in your Linux machine
sudo apt-get install valgrind
Connect VSCode via SSH-key
ssh username@***.***.***.*** -p <portnumber>