1. install sshfs:
sudo apt-get install sshfs
More details here: https://www.digitalocean.com/community/tutorials/how-to-use-sshfs-to-mount-remote-file-systems-over-ssh

2. mount the  ssh location:
sshfs -o nonempty user@ip:/var/www/test /home/testuser/testdirectory

to unmount it:
fusermount -u /home/testuser/testdirectory

where:
user – your SSH user
ip – IP of your remote machine
/var/www/test – path of the directory on your remote server which you want to mount on your local machine
/home/testuser/testdirectory – path of mounted remote directory on your local machine