Linux Crash Course Series - How to Share Files via SSHFS

  Рет қаралды 28,480

Learn Linux TV

Learn Linux TV

Күн бұрын

Пікірлер: 62
@patrickstephens5874
@patrickstephens5874 2 жыл бұрын
LINUX CRASH COURSE BABY! I love these videos Jay! They have really helped me out so much on my Linux journey. You really make this stuff fun and easy to grasp. I recommend your channel to all my friends who are interested in Linux and Homelab. Thanks Jay!
@RavenOfLaughter
@RavenOfLaughter 2 жыл бұрын
Have come to love and use Linux daily because of this channel. You're the best.
@vixxkigoli345
@vixxkigoli345 2 жыл бұрын
Very helpful video it was. I have compiled/ported postmarketOS on my android device. I have used ssh to run commands via my desktop to my android device, but wasn't aware of sshf, so everytime I switch off [hone and then go to recovery and then place file via adb. But after your video, I get an Idea of sshf, now I will use it, no more reboot. Thank You Very Much.
@dorvinion
@dorvinion 2 жыл бұрын
That it doesn't require the server machine to have any additional configuration beyond existing SSH access is helpful
@meowcula
@meowcula 2 жыл бұрын
Thanks Jay, most useful as always. I wonder why do you only recommend it for one-off mounts for the task at hand? or why you'd prefer NFS/Samba for mounts that are meant to be up all the time? (ignoring the lack of maintainer for the moment). Seems simple enough to make an sshfs mount into a systemd daemon to mount it, or put it into one's fstab. Are there any drawbacks to doing so?
@averagedev7768
@averagedev7768 2 жыл бұрын
I was about to ask the same
@MrGarfield
@MrGarfield Жыл бұрын
Yes there are some issues with auto-mounting. Because if the server side is down you have to remount it. However you can fix this by adding additional mount options like timeout / remount etc... i'm using it for years now and love it not every time running exports for nfs , and a big plus, if the server goes down the mount is unmounted and not hanging your file-browser.
@virtuallifeform
@virtuallifeform 2 жыл бұрын
sshfs is incredibly useful! 🐧👍
@Bob-zg2zf
@Bob-zg2zf 2 жыл бұрын
Jay, I'm glad you look healthy. Keep up the good work, bro!
@privateness.network
@privateness.network 2 жыл бұрын
nice I didn't even knew it existed. Too bad about privacy though, let's hope a trustworthy maintainer will take over soon.
@UKprl
@UKprl 2 жыл бұрын
Weird, I made an uncontroversial comment asking how this method compares with typing SFTP URLs in our file manager (i.e. GVFS/GIO in Gnome, KIO in KDE). This was in light of SSHFS having no maintainer, and it seems to achieve broadly the same result without needing to manually create the local directory mount point oneself. Only requires SSH service defaults on the server side (as with SSHFS) and no additional client side software. The first comment was silently deleted while I had it open for an edit (Google reference error), so I recomposed it but the replacement also disappeared within 24 hours. There weren't any web links etc that might trigger a moderation queue. If this one vanishes too I will probably just give up posting here. I've seen it happen on other channels occasionally.
@ahacikayim1664
@ahacikayim1664 2 жыл бұрын
Video request: How to Set Up SFTP Chroot Jail? And thanks for everything you did in this channel.
@SuijoART
@SuijoART Жыл бұрын
Thanks Jay for the video guide ! It was very helpful 😃 ; Quick question : is it a way to automount remote directory with SSHFS by including it in the /etc/fstab file
@nicoladellino8124
@nicoladellino8124 2 жыл бұрын
Very nice video, TNX.
@katnax3059
@katnax3059 5 ай бұрын
I like those videos but I expected a bit more. Like how to mount over internet. Like when you create Linode cloud server and mount a directory over SSH to your workstation. What about different ssh ports, what about permissions, adding to fstab, automounting on boot on LAN and WAN, troubleshooting, like recently I couldn't unmount sshfs directory and I had to use lazy unmount, and other edgecases. You can ask your community when planning those videos, on what issues they had with simmilar things.
@zgliu8018
@zgliu8018 2 жыл бұрын
A lot of people with Steam Deck sleep on sshfs, instead using GUI programs like warbinator or whatever that requires to go to desktop mode and needs manual control on both ways. SSHFS is simply a better choice, it doesn't require going to desktop mode, doesn't need extra configuration other than SSH, and allows you to perform file operations directly at client
@heckyes
@heckyes 2 жыл бұрын
This channel is on fire.
@othernicksweretaken
@othernicksweretaken 2 жыл бұрын
Jay, you mentioned possible security issues in the future as the sshfs's maintainer abandoned it. But what about data integrity? While NFS has a locking mechanism which prevents that files are corrupted by simultaneous write access from different hosts how is SSHFS comparing in this regard, or are its users expected to take care that simultaneous write accesses are by all means avoided?
@MariuszKlinikowski
@MariuszKlinikowski Жыл бұрын
Security issues have very poor chance to appear, because if something bad will be found inside ssh - it will be fixed. It's just overlay. Data integrity is even better in case of sshfs, especially because it can reconnect, does not hand like NFS does and do not have those locking problems. It's just slow when your connectivity is bad. SSHFS does not have special locking in case of multiple hosts trying to modify the same file, so expect a mess in this case.
@keithmiller9665
@keithmiller9665 2 жыл бұрын
Excellent video, thank you.
@JPabloDonayreQuintana
@JPabloDonayreQuintana Жыл бұрын
What about the refresh time ? How much time does it takes to a file to appear in the other side ?
@Handelsbilanzdefizit
@Handelsbilanzdefizit 2 жыл бұрын
Can it be used for PXE diskless server boot, life nfs?
@madkvideo
@madkvideo Жыл бұрын
Question, why should I pick this option over SFTP?
@MaxwellsLab
@MaxwellsLab 9 ай бұрын
So we can't mount system directories unless we can ssh as root. However, its bad practice to allow logging into root as ssh. Sudo doesn't do anything while inside a mounted ssh directory either. So...what's the best practice in this situation?
@dibll
@dibll 2 жыл бұрын
Could you pls create a crash course on Xargs command. Thanks!
@johnwatson8346
@johnwatson8346 Жыл бұрын
hi i have setup a PBX server with key and use sshfs but when mounted the directory only has these privileges (drwxrwxr-x) but I cannot delete or copy or create how do I sort this please
@becbelk
@becbelk 2 жыл бұрын
any video about CUPS and drivers in linux
@bhupendrasinghsuri496
@bhupendrasinghsuri496 2 жыл бұрын
During mounting by sshfs it's giving an error "read: Connection reset by peer
@ninasmart3103
@ninasmart3103 2 жыл бұрын
I enjoy your videos, they have helped me in my journey to learning Linux. I was wondering if this process will work for sharing Windows storage space drives that I attached via USB. When I lslbk I can see the 2 storage pools that I have (12 drives) but I am unable to mount to share it.
@Alex-WW
@Alex-WW 11 ай бұрын
if I'm working with a folder of size some 10GB is this best possible solution? I'm using a linux machine to build the code but I wanted to browse the code using VS code instead of VIM on the linux machine VM, so could you help me how do I do that? VIM is very tedious to browse through functions callers/references whereas VS give all the references for me so please suggest, Thanks!
@securelinuxchannel1519
@securelinuxchannel1519 2 жыл бұрын
can you make a video on linux normal release and LTS release . what are the advnatages and disadvantages both the releases or which release you preffer . ????!!
@Rickety3263
@Rickety3263 2 жыл бұрын
A whole video on /etc/ssh/sshd_config would be super helpful for noobs
@aurorafilmproductions
@aurorafilmproductions 2 жыл бұрын
Great video, as all your other videos. Thanks so much. I wonder if there is any way of having a mount from my server with fallback on another mount (say local mount) I have some configuration files in my ASUTOR server mounted locally at /mnt/CONFIG. Sometime I need to restart the ASUSTOR NAS and would like the mount to fallback on a local folder… say ~/config_fallback Is this possible?
@send2gl
@send2gl 2 жыл бұрын
That was interesting, shame not maintained at the moment. I often mount various Raspberry-Pi devices on my network using Dolphin or Nautilus, pretty sure that is set up using ssh or scp
@BrianThomas
@BrianThomas Жыл бұрын
Help. I'm connected as a user with sudo rights and when I create my directory on both sides. After I mount the directory as shown. I lose privileges. Root has ownership of both directories. It gets stranger, because when I try to chown and chmod as su or root I'm denied access even though it's owned by root. I really like sshfs but if I can't get around this issue. I won't be able to use it.
@BrianThomas
@BrianThomas Жыл бұрын
when I place data in the directory on the remote side or server side. It looks like I'm only able too add data to the directory in one direction. Only frombthe far end or the server side. I can only view data on the client side, but that's where everything was created. So confusing.
@normb2780
@normb2780 Жыл бұрын
@@BrianThomas I wanted to be able to add files both ways and discovered that using -o allow_other and uncommenting allow_other in /etc/fuse.conf, I was able to do so.
@AcidiFy574
@AcidiFy574 2 жыл бұрын
Could one automate a KZbin channel via Bash if they could ??
@mean7429
@mean7429 2 жыл бұрын
Thank you
@random-drops
@random-drops Жыл бұрын
Sad as it's no longer maintained, at least to this date. Hope sb can take over it soon.
@MrWarneet
@MrWarneet 2 жыл бұрын
How would it look in Fstab?
@LearnLinuxTV
@LearnLinuxTV 2 жыл бұрын
Convoluted. IMHO, I’d you want to use fstab, I would opt for Samba or NFS instead.
@G.T828
@G.T828 Жыл бұрын
Do a sysvinit tutorial too, there are not many good videos about it on the internet.
@pepeshopping
@pepeshopping 2 жыл бұрын
It’s cool but there are only a few cases where SCP would not be enough, and I simply use NFS then, so I have never used or needed sshfs.
@KR1ML0N
@KR1ML0N 2 жыл бұрын
ive used sshfs a lot
@byru-tech
@byru-tech 2 жыл бұрын
thank you just today I was looking at how to move data between two systems and 1 hour later (:
@patrick-8068
@patrick-8068 2 жыл бұрын
Share file​ Standard​ is​ ITU.​ 50
@bhupendrasinghsuri496
@bhupendrasinghsuri496 2 жыл бұрын
It gives an error : reset by peer
@Rickety3263
@Rickety3263 2 жыл бұрын
try adding these arguments and run "ip -br -c a" you'll never go back
@AlbandAquino
@AlbandAquino Жыл бұрын
Thanks Jay for that crash course. I'll be SURE to use that in the future ! 💽
@GrindAlchemyTech
@GrindAlchemyTech Жыл бұрын
💎👌
@joshua_lee732
@joshua_lee732 Жыл бұрын
Sadly sshfs has been deprecated by the developer.
@richardbennett4365
@richardbennett4365 2 жыл бұрын
Nice, but long. Also, the narrator can pronounce fusermount as eff user mount, but it's a FUSE tool that deals with remote mounting, so I think a better pronunciation is fuse arr mount. But, it's the same as people saying eff stab or eff ess tab. Chris Titus says eff stab. Funny. It's not a stab of something. It's a table of file systems. So, tab is an abbreviation for table, line file system table. But eff stab is humorous. Toe may toe and toe mah toe. Chacun a son goût.
@raj.svc.google911
@raj.svc.google911 2 жыл бұрын
Please stop recommending and generating RSA keys. Start using ED25519 keys instead. It is as simple as specying 'ssh-keygen -t ed25519 ...'.
@richardbennett4365
@richardbennett4365 2 жыл бұрын
Dry sense of humor. Anyway, the narrator pronounced fusermount. But, it seems this command is related to FUSE. SO, it's curious he pronounced the command as "eff user mount." One might think it's better as "fuse arr mount."
@ovalwingnut
@ovalwingnut 2 жыл бұрын
3+ mins of commercials. 8mins in and we still haven't run sshfs? Face palm. Life is to short. Cheers! I'm outa here.... (thumbs up for the effort)
@aft3rgl0w
@aft3rgl0w 2 жыл бұрын
sponsorblock browser add on and you are done
@FHollis-gw4cc
@FHollis-gw4cc Жыл бұрын
Cheap price to pay (nothing but a few minutes of your time) if you're wanting to learn something. Especially by someone who goes slow enough and thorough enough to absorb to content.
@jmckey
@jmckey Жыл бұрын
He's got chapter markers, so on mobile you can just double tap with two fingers or on PC click on the next chapter. Or am I misunderstanding what commercials you mean? I'm guessing you mean the Linode sponsorship he reads in himself.
@ovalwingnut
@ovalwingnut Жыл бұрын
JM, thank you for that logical and informative reply. You are a gentleman and a scholar. I guess my hidden agenda is that I now use YT Premium and I didn't factor in that commercials would still continue (in some form). Like death & taxes.. it's inevitable. My bad. And I do apologize for going off to soon (which happens to be the same thing my ex-GF complained about) :O\ You RoCk. Cheers.
@jmckey
@jmckey Жыл бұрын
@@ovalwingnut No worries mate! And good on you for coming clean and being humble about it! So rare in these internet comment spaces. It helped that you were still kind in the end of your prior comment, which was what motivated me to try to reply to you at all. So good job there too.
Linux Crash Course - The df and du Commands
20:28
Learn Linux TV
Рет қаралды 31 М.
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
Linux Crash Course - sudo
26:11
Learn Linux TV
Рет қаралды 71 М.
OpenSSH for Absolute Beginners
23:00
Veronica Explains
Рет қаралды 120 М.
Privileged Remote Access by Delinea
24:52
Eddie Does IT
Рет қаралды 246
5 Must Have Tweaks to Secure OpenSSH
21:48
Learn Linux TV
Рет қаралды 31 М.
Linux Crash Course - Formatting & Mounting Storage Volumes
32:28
Learn Linux TV
Рет қаралды 267 М.
Linux Crash Course - The diff Command
22:21
Learn Linux TV
Рет қаралды 19 М.
Easy Samba Server Setup on Rocky Linux
29:26
KeepItTechie
Рет қаралды 4,2 М.
Linux Crash Course - The /etc/fstab file
30:29
Learn Linux TV
Рет қаралды 111 М.
Linux Crash Course - Understanding Logging
29:10
Learn Linux TV
Рет қаралды 54 М.
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН