This is what it should look like on your Desktop: $ sshfs -p8021 ~/Desktop/archive password: $ sshfs -p8021 ~/Desktop/scratch password: $ sshfs -p8022 ~/Desktop/cardiacHome password: $ sshfs -p8021 ~/Desktop/boweryHome password: $ sshfs -p8020 ~/Desktop/usqHome password: #Macfuse macfusion passwordEnter your NYU NetID password when you're prompted. Make sure to replace NetID in the command below with your NetID. #Macfuse macfusion how toNow I show here how to use these two tools to mount home, scratch, archive.Īs a first step, you need to create a tunnel to from a terminal. During the installation make sure to select the option "MacFUSE Compatibility Layer". #Macfuse macfusion installFrom here download the stable releases for OSXFUSE and SSHFS from the right hand side of the page.įirst, install OSXFUSE. Then I started looking for different tools out there and this is what I found.įirst one is FUSE for OS X. #Macfuse macfusion macUnfortunately, Finder on Mac doesn't support SFTP. Initially, I thought I could mount these filesystems through Finder -> Go -> Connect to Server. First I wasn't sure how I'd mount these filesystems on to a Mac so that user could select a directory for the file to be copied to/from. This is where I got stuck because of different reasons. #Macfuse macfusion archiveOnce I was done with it I wanted to write another one that automates copying files onto HPC filesystems (scratch, archive and home). Let me know via comments if you need help.įor the last one month I have been working on an AppleScript application that automates SSH Tunneling to NYU HPC clusters. Otherwise it'd become a nuisance as it'd keep asking you each and every time you try to use it.įinally, to unmount simply click on "Unmount" next to each of the names on the Macfusion interface. If you're on personal go for "Always Allow". You can select "Allow" or "Always Allow" depending on whether you're on your personal computer or someone else's. Oho, finally you'll be asked something like this: You're connecting by double clicking the connected server icon on your desktop or by clicking on the connected server icon on the finder window. Mounting is one thing and connecting to them is another thing. It takes a couple seconds for your files to show up. To see your files, simply double click on the disk icon or single click on the directory from the finder window that has been opened up by double clicking on Macintosh HD on your desktop. You should see the connected servers like this: Other noticeable thing is the gray disk icon has turned into green as a symbol that directories are successfully mounted. You should see something like this after mounting all of these:ĪS you can see now it has Unmount in the place of Mount. To mount simply click on Mount next to each name. To access archive directory, type in the values just like shown below in the window that pops up, after:įinally, you should see something like this on Macfusion:Īs you can see no directory is mounted yet. Since archive is also available on all the three clusters, we're going to access it on Bowery. To access scratch directory, type in the values just like shown below in the window that pops up, after: Since scratch is available on all the three clusters, we're going to access it on Bowery. To access Cardiac Home directory, type in the values just like shown below in the window that pops up, after: To access Bowery Home directory, type in the values just like shown below in the window that pops up, after: To access USQ Home directory, type in the values just like shown below in the window that pops up:įor User Name, this should be your NetID.įor Password, this should be your NYU NetID Password.įor Path: this should be /home/NetID for home directory, /scratch/NetID for scratch, and /archive/NetID for archive. Once the tunnel has been created, run the Macfusion and you should see an interface like this: Select "Connected servers" under "Show these items on the desktop". To make it happen, open Finder Preferences: Finder -> Preferences. The command can be taken from the previous blog.īefore we run this application we need to make sure that connected servers show up on the Desktop. Fortunately, Mr Patrick Robertson built this app for before mentioned operating systems.Īfter putting the prebuilt Macfusion into /Applications, first step would be to initiate a tunnel to NYU HPC clusters through bastion host. Official website for Macfustion hasn't been updated for a while and also it doesn't work well with Lion and Mountain Lion OS. Make sure that "MacFUSE Compatibility Layer" is selected in the installation process. This is a great tool for easily mounting folders on your OS X desktop via SSH or FTP.įirst, install OSXFUSE. This post is also about the same but shows another approach with different tool, Macfusion. In my last blog I showed how to mount home, scratch and archive from NYU HPC clusters onto a Mac.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |