00:00how is it going everyone we've got the membership enabled on this channel
00:07please if you don't mind you can become a member for the extra benefits or the features
00:16for you as a member it's not a big deal i just wanted some to get some support from you
00:25financial one i hope you don't mind it when we speak of sshfs we have two situations the first one
00:35the server the second one is the client the server is the one that we would like to mount
00:43its folders on the computer and the client is where we mount it when it comes to mac
00:50for the server you just need on your mac to enable the remote login you go to system preferences
01:05here i have it open you look for remote login which i got it the first one
01:18and you enable it remote login
01:23and i don't know if this one needs to be enabled but i have it enabled you may need to
01:30enable it
01:32and then you allow access for all users or at least the users that you would like to choose
01:41then on any other computer if it is linux you need to have a package call it sshfs in most
01:49distros repos
01:51and you run sshfs
01:56let me switch back to the mac to show you how to get your ip address from the terminal run
02:05ifconfig
02:09and should get your ip address
02:21i have two
02:27now this one i set it for
02:32another purpose so i have one which is 10.1.0.14 you can also check by going to this
02:41wi-fi sign in the top
02:44right corner you click it and then you choose network preferences
03:02you go to tcp ip if it is wi-fi the other one ethernet in my case it's ethernet two
03:16it can be ethernet one for you
03:19so this one needs to be set to using dhcp if it is connected to your router which will serve
03:27as a dhcp server
03:32apply
03:34it will give us an ip address which can be used
03:41and then on any system that has sshfs installed as a package like linux you run sshfs and then the
03:54user name
03:55in my case is it is like this the ip address in my case it is like this and then
04:04the path that you would like to mount it should definitely be something like users with u uppercase
04:14slash the user name and then the path where you want to mount it in my case i would mount
04:24it under home
04:25slash home slash home slash user slash public
04:30and then you put here the password of your mac user that you are trying to mount the directory
04:43okay
04:47yes we should get it mounted in my case it appeared on the desktop if you are using matte you
04:57should get
04:57get the same thing if we see here properties
05:08or we can do mount and we have it among the mounted directories for windows i made a video about
05:18it
05:19i believe the quality of the audio is not the best so i thought of doing the same steps here
05:27but with mac as a server we look for win fsp we download it
05:39we download the installer
05:43and we download sshfs we choose the architecture that matches with our
05:52computer computer computers architecture in my case it's x64 this one we download it in the meanwhile
06:01we go to patty to generate a key
06:09patty patty gen click generate here
06:18i'm moving the mouse since it says that we it wants us to move the mouse over the blank thing
06:26and then click save public key
06:34just type something random
06:38yes
06:44save
06:47and then private key click yes something random again and save
06:56and then you can exit out of it install the packages that you just downloaded
07:08that's uh confirmation about downloading stuff from the internet i guess this is an
07:19msi file click next next install you will be given a prompt where you confirm click finish here
07:30and then we install the second package and then we install the second package okay here run
07:41next next back
07:48yeah next install
07:53and click yes
08:01all right finish this one we can minimize it minimize
08:17minimize
08:24then we come to computer
08:27right click
08:29map network drive
08:32and then
08:34double
08:36backward slash
08:37sshfs
08:39for a backward slash
08:41the user
08:43in my case it is like this for the mac computer
08:48and then the ip address which is like this
09:10i guess it's uh with backwards slash at the end click finish
09:16and then here we type the password of the mac computer
09:24all right
09:26let's go to computer
09:29we've got it mounted as you can see
09:33and it opened for us
09:40let's
09:41let's make a directory
09:44new
09:48or text document
09:50let's call it made
09:51from windows
09:56windows
09:57all right
09:58if we check
10:00here
10:01should find it
10:11or let's make
10:13document here
10:15keep it the way it is
10:17and go back to windows to see if we have it
10:27oh yeah i forgot this is a mount in a different directory that's why we didn't get the same
10:35structure of the files
10:48no need for this
10:53so that was how to mount mac os directories
10:57through sshfs on other computers when it comes to mounting
11:03the directories through sshfs on mac itself we need two
11:08packages which we're gonna install and use now
11:13so you head to macfuse.github.io and you download macfuse 5.1.3
11:22this one
11:24you download sshfs
11:273.7.5
11:30this one
11:32you have the option to install them
11:35from mac parts in case you have it installed
11:39i mean mac parts
11:43and you want to use the command line
11:46you run sudo port install macfuse
11:54and then the password
12:03you have also the option to install it from brew in case you have it installed by running brew install
12:11macfuse
12:14and that should install it for you
12:22all right
12:26sorry i closed it accidentally let me
12:32try again brew install macfuse just to prove to you that it exists in the
12:41repositories of brew
12:43we can see that it is pulling the
12:47files of the installation
12:50here i need to remove it since
12:53that's not
13:04that's not the way i would install it remove macfuse
13:08macfuse
13:13uh
13:19and install
13:22all right
13:23we just run the files that we just downloaded
13:29like this
13:33here we click continue continue agree
13:38install
13:42the password here
13:43the password here
13:48all right
13:50this is for sshfs close
13:53move to trash
13:55and then
13:57and then we install macfuse
14:01and then we install macfuse
14:02we double click this one install macfuse
14:04and then we click here
14:10and then we click here continue continue continue
14:14and then we click here continue continue agree
14:36Click here open security preferences, here click on this padlock password and then click
14:59here allow, click restart my Mac is restarted as you can see in our system
15:11preferences of macOS we have a new entry called macfuse
15:27I guess from there we should have the SSHFS connections we can also check in our terminal
15:39if we have a command for that, like we do on Linux
15:55SSHFS, yes we have it, with this you can mount whichever directory from whichever operating system
16:04as long as it has such feature enabled I do know my
16:14let's try with the GUI since we tried that with
16:24we tried that command with Linux but it sounds like we have
16:30no option to mount using it I mean the GUI
16:39yeah we don't have anything so far
16:49let's see in this one, yeah we have nothing
17:00so it's something similar to Linux I will just mount the directory from the computer
17:08where I'm recording myself it should be like this my user name is user my IP address is as
17:14you can see here home user
17:27it's mounted under home and under movies since I believe that such directory is empty enter
17:44yes this is based on SSHFS, yes this is based on SSH so we get this confirmation enter
17:49and the password of the user of the computer where I'm recording myself and enter after the password
17:56if we run mount
18:00we see that directory is mounted
18:04if we go to finder
18:06if we go to finder
18:14to the home directory of the user
18:20here it is
18:21macfuse volume 0
18:23if we enter here
18:29we get
18:30we get
18:31a bunch
18:32of directories that are
18:34within the path that we just mounted
18:37if we try to make
18:44directory here
18:48new folder
18:49new folder
18:51made
18:51from
18:52mac
18:57this
18:58no spaces for unix
19:00unix based
19:01systems
19:03and then
19:05we go back to
19:06our computer
19:09and do ls
19:11we will find
19:13the directory that we just created
19:19which is
19:20which is
19:21this one
19:21that was how you
19:23set up
19:24and use SSHFS
19:26on macOS
19:28whether as a client or as a server
19:31please don't forget to subscribe like share and comment
19:35and probably
19:38or why not
19:39become a member
19:41thank you for watching
19:43and peace
19:44i
19:44i
19:45i
19:45i
19:45i
19:45i
19:45i
19:45i