this post was submitted on 13 Sep 2023
407 points (98.3% liked)
Asklemmy
43908 readers
1066 users here now
A loosely moderated place to ask open-ended questions
Search asklemmy ๐
If your post meets the following criteria, it's welcome here!
- Open-ended question
- Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
- Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
- Not ad nauseam inducing: please make sure it is a question that would be new to most members
- An actual topic of discussion
Looking for support?
Looking for a community?
- Lemmyverse: community search
- sub.rehab: maps old subreddits to fediverse options, marks official as such
- !lemmy411@lemmy.ca: a community for finding communities
~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
What is it?
Any cloud server, any linux server on your network, any virtual machine... is a network hard drive. No need to mess around with shares, permissions or server side settings (caveat: Your ssh user on the remote server DOES need to have the access you want to the files you want... but also duh). Want to edit config files on a remote server in your local text editor? You can. Want to mount your media server in your home directory on your Ubuntu laptop and watch your videos in VLC? You can. Want to just open Finder windows where one is your working directory on a cloud server and one is your home directory on your local machine and just drag files between them? You can. Want to share a hard drive between your Mac, your Windows machine and your Linux Mint laptop and just open the network share with one simple line in the terminal? You can.
The remote server just needs to be running SSH (that's it! You don't need ANY OTHER SERVER SIDE code) and you can mount ANY PART OF IT'S FILE SYSTEM like a network drive. It's file system agnostic on the server side as well. Implementations for Mac and Windows in addition to Linux. Although, admittedly, the non-Linux implementations are a bit janky... but I'm almost a pure Linux user, so that doesn't affect me... I DO have it running on my MacBook and my Mac Mini, but I barely use those.
mount a folder over ssh with a simple command
ssh plus sshd is available already or can easily be installed on any Linux system. It can do many things: Remote terminal sessions and remote login (for admin for example), file transfer, directories can be mounted as shares too over ssh, remote execution, you can also even do tunneling, graphical application UI forwarding, and even implement VPNs via ssh. Every Linux admin knows about and uses ssh all the time.
It is interesting a lot of people forget you can use any Linux box as a file server via SSH, in addition do a lot of other things. I also have an ssh app on my cell phone, and can just mount the file system their on Linux too. There are clients for SSH for Windows also.