Mounting (Bookmarking) remote directories over SSH via bash script?
Solution 1:
You can mount the remote file system over ssh using sshfs
command, then interact with it as if it were a local system.
There is a man page here: https://linux.die.net/man/1/sshfs which gives the syntax for the command:
sshfs [user@]host:[dir] mountpoint [options]
Another tool in the wonderful ssh toolbox!