4 ms·
'sshfs' would do the trick, if I am understanding what you seem to be saying. (WinSCP, IIRC, if you're using Windows.) https://en.wikipedia.org/wiki/SSHFS htt
by simonblack 7y ago
'sshfs' would do the trick, if I am understanding what you seem to be saying. (WinSCP, IIRC, if you're using Windows.)
https://en.wikipedia.org/wiki/SSHFS https://en.wikipedia.org/wiki/SSHFS
Executable script that I use - (actual names replaced)
#!/bin/bash
# mount remote directory on local machine
#
RDIR=$1
MOUNTPOINT=my_local_mountpoint_folder
USER=username_on_remote_server
REMOTE_HOST=remote_servers_name
if [ "$1" = "" ]; then
echo -e "\nMounting remote home directory. If other remote directory"
echo -e "desired, usage is $0 <absolute or relative directory-name>\n"
fi
#
sshfs ${USER}@${REMOTE_HOST}:$RDIR $MOUNTPOINT