
You can mount a specific directory from your Ubuntu Server 22.04 onto your Ubuntu Desktop 22.04 at a specified location using several methods. The most common and secure way is via SSHFS (SSH Filesystem), which works over SSH.
Install SSHFS on your Desktop:
sudo apt update
sudo apt install sshfs
Create a mount point on your Desktop:
mkdir -p ~/remote-server-data
Mount the server’s directory:
Assuming your server IP is 192.168.0.100, username is serveruser, and you want to mount /home/serveruser/shared:
sshfs serveruser@192.168.0.100:/home/serveruser/shared ~/remote-server-data
Now you can browse the server’s shared directory at ~/remote-server-data on your Desktop like a local folder.