Connecting to a server across the internet is much more secure using SSH.

Replace with your username.

Now we’ll create a directory to mount the remote folder in.

I chose to create it in my home directory and call it remoteserv.

mkdir ~/remoteserv

Now we have the command to actually mount it.

You’ll be prompted to save the server key and for your remote password.