# Linux Setting ## SSH 1. Install ``` sudo apt install openssh-server ``` 2. Set SSH ``` vim /etc/ssh/sshd_config ``` ![image](https://hackmd.io/_uploads/BkE9p-D3C.png) - PermitRootLogin ==yes== (I didn't change this but still work.) - PasswordAuthentication ==yes== 3. Restart (Finish) ``` /etc/init.d/ssh restart ``` 4. Auto enabled (Not necessary) Problem: Everytime I open ==kali== it need to restart the ssh service again. Solve: Auto enabled. ``` systemctl enable ssh ``` ## Folder Mounted 1. Use setting to mount folder. ![image](https://hackmd.io/_uploads/H1L6-thkbe.png) 2. Check is folder mounted. ``` vmware-hgfsclient ``` ![image](https://hackmd.io/_uploads/SkDcAZwn0.png) 3. Setting ``` sudo vim /etc/fstab ``` ![image](https://hackmd.io/_uploads/ByaVyfPnA.png) ``` .host:/<Folder Name> /mnt/hgfs fuse.vmhgfs-fuse allow_other 0 0 ``` (**Add the above line at the end of file**) 4. Reboot VM (Finish)