 Six feet back get six feet back. I've got a cold and I don't want to get you sick So even though I'm sick. I'm not feeling well. I'm not thinking straight I'm still making a video for you and hopefully it makes sense and hopefully I don't have to blow my nose a bunch during this video Anyway, today. I'm gonna talk about something that I just want to inform you of something that a lot of people don't seem to know and I'm not telling you how to do something. There's just showing you another option that you may be unaware of let's say you have a machine on your network or somewhere on the internet and Has SSH running and you want to share files now most of us know you can SFTP, which is like FTP, but Using SSH so it's encrypted you can SCP to copy files You can also use our sink Which is great when you're backing up stuff because it detects what files have been changed And we'll only transfer files that have been changed and so forth and so on Let's say you want to use a GUI interface, you know graphical user interface to Access your file so you can drag and drop stuff I'm gonna show you something you may not know a lot of people in in that case will go to file Zilla It's a very popular free and open source cross-platform Program and I'm not saying it's a bad program. I just feel it's a little redundant so And this has come up a few times Over the years where I asked someone why they use file Zilla and then I showed them this and they just didn't know that you could do this If you are running Linux, there's a good chance if you have a GUI file manager installed. It can already do SSH file transfers if you're running Nautilus on gnome Thunar PC man file manager if you're on KDE Used to be conqueror now it's dolphin I don't know if dolphin is a new conqueror or if they're two different programs But I know that back in the day. It's been a decade since I have used KDE it could and here I've been using Nemo. I think is the name of the file manager I've been currently using but here we go I'm gonna show you right here in your address bar if you want to call it that I mean if you're using conqueror that was a web browser as well I don't know if that's the the actual proper term when you're in a file manager But our address bar you can type in sftp colon S4 slash and the IP address of a machine you want to connect to that's running SSH If you're not running it on the default port 2 2 you can call in and give it whatever port number you're using If you're logging in as a user other than that has a different username than you're currently logged in You can just type in that user's name at just like you would in the shell But I'm gonna go ahead and I'm going to log in to my machine in the other room This is my Cody machine hooked to my TV. I'll hit enter and it'll ask me for my password now I have an option to forget immediately remember until I log out or remember forever So basically remember till you log out means you can access this until you log out if you forget immediately You're gonna have to type password again when you go into it or remember forever. It just stores it forever Be aware though right now. It is asking me here. It says password. It's actually look up here It's asking because I'm using security keys my passphrase So I could type in my passphrase. I'll hit enter and you can see I now can access Everything on that drive that my current user has access to I can click on it here. It shows up here I can go into and when you click on it here, it brings you to your home directory on that machine But I can access all those files. I can split the screen I can go into documents here or downloads and I can transfer files from one machine to other just by dragging Let me give you another example now. I used SFTP there You can also go SSH colon forward slash forward slash and in this case I'm gonna go to if my wife's computer is on That and this time it must realize that this user does not exist on that machine because It's asking me for username. So I would type in her username and her password I'm not going to do that because I don't know what file she has on her home directory I don't want to expose anything, but yeah, so if you do SSH or SFTP it knows and let me see what happens if I do SCP does it still know that? Let me try another machine just so it knows Okay, so if you SSH or SFTP and obviously you can do SMB for Windows network shares the samba shares so that's great and I can eject it from here as well So that's great. That's not what I normally do But because normally I do stuff from the shell, but if for some reason I had to I wanted to use a GUI interface what I normally do is I would just mount it From my shell so I would use SSH FS and I would give it the user name or just the IP address if it's the same user So I go like this and let's go 150 and Then where I want to mount it So let us actually use this one and I will go Media because I already have a directory that exists under Metal X1000 Kodi for my computer hook to my TV there and bad mounting point do I have to do Kodi at or I might have to give it a Directory I'll give it the root directory. There we go And now I can go into this directory here and I can see the root directory there I could mount I mounted the root directory here, but I can mount it any directory and Then I can also open this up and any program will now see that as a mounted directory It's all shown right here. I should be able to eject it from here It's gonna give me an error because I'm still in it in the shell there It's gonna be telling me that the shell is still using it so I can exit out of that I can Move out of that directory and then I can also just say you mount So you may say Chris You fumbled through that command. Why would you use the shell to do something like this? The truth is I don't type that command all the time if I was to cat out a command here a Script a script that I wrote a script a script that I wrote You can see here I have this short little script and I have a similar script with a different server set up for like my arcade machine This script is for my Kodi machine hooked to my TV in the other room But all I have to do is type Kodi mount and I have it aliased to that script and then CDs into it I do that it will ask me for my passphrase I type that and not only did it mounts it but now I'm in that directory I can list out what's in that directory and if I was to open that directory in a file manager or any other program I can now access that at this directory I have permissions to write to that because I'm logged in as my current user or actually Kodi user on that machine and Then if I wanted to I can always get out of that directory and then I can do Kodi mount you mount To unmount that directory. So, yeah Lots of times I've heard people say oh, I don't like using the shell or they'll say I don't like using Linux because you have to type all these commands Well, the thing is anything that's what computers are for when you do something repetitive. They're good at that So all these commands that I type you can alias to short little things like that and they'll work great So I hope you found this useful that mainly just show you that your file manager can already do these network transfers You don't need a separate program if you want to use files ill till that's great But if you are used to using a certain file manager Why would you use a separate file manager for network stuff when you can just do this? You can either mount it or just again ssh colon four s4 slash the IP address of the machine And it's right there and you can drag and drop files over to it. That's it I hope that you enjoyed this tutorial visit filmsbychrist.com. That's Chris the K. I hope that you have a great day