SSHFS - Mount drive

Discussion in 'OS X El Capitan (10.11)' started by nemrod, May 6, 2016.

  1. nemrod, May 6, 2016
    Last edited: May 6, 2016

    nemrod macrumors member

    nemrod

    Joined:
    Mar 23, 2008
    #1
    Hi,

    I would like to mount a seedbox on my Mac @ 10.11.4 to transfer downloaded files from my seedbox to my local drive using Sonarr app.

    According to Sonarr forums, i had to use SSHFS to mount the drive so i downloaded OSFUSE 2.8.3 and SSHFS 2.5.0 but i have no idea on what to do after installing them.

    Any idea ?

    Thanks
     
  2. 0d085d, May 6, 2016
    Last edited: May 7, 2016

    0d085d macrumors regular

    Joined:
    Apr 23, 2015
    #2
    If you've installed FUSE and sshfs properly, you should be able to just open up Terminal and type:

    Code:
    sshfs username@server.local:~ /Volumes/server -o volname="Server" -o reconnect,ServerAliveInterval=15,ServerAliveCountMax=3
    These are the options I use. If this doesn't work then you probably have an install problem or an incorrect SSH configuration on your seedbox.

    (I also use -o uid=000 where 000 is my local uid. This may not be necessary)
     
  3. nemrod, May 7, 2016
    Last edited: May 7, 2016

    nemrod thread starter macrumors member

    nemrod

    Joined:
    Mar 23, 2008
    #3
    Hi,

    Thanks a lot for your answer.

    I don’t know what to modify in this command line :
    1. username : OK
    2. server@local : ?
    3. /Volumes/server : the address of my seedbed with or without https//:
    4. « Server » : the name of the volume ?
    Where do i specify my password ?

    I tried using the following command line : sshfs SB1293@hector.useed.fr: ~/uSeed -o volname="Server" -o reconnect,ServerAliveInterval=15,ServerAliveCountMax=3

    The result : remote host has disconnected
     
  4. 0d085d macrumors regular

    Joined:
    Apr 23, 2015
    #4
    Code:
    username@server.local:~
    This is telling SSHFS how to log in to your seedbox. username is the username you use to log in to the server, server.local is the address of the seedbox - it could be a hostname on your local network (eg. seedbox.local), a domain name for a public server (eg. seedbox.example.com) or an IP address (eg. 123.123.123.123). The ~ tells SSHFS what location on the server to mount. ~ is your home directory (note I've edited the ~ into my post above - I originally missed it).

    /Volumes/server is where the volume is going to be mounted on your system. This folder needs to already exist, so it may be easier to make it at ~/seedbox or something.

    -o volname="Server" sets the name of the mounted volume as it will appear to you. It doesn't affect anything so you can set it to whatever you like, but I'd stick to alphanumeric characters until you've got everything else working. Don't try to add fancy accents or anything.

    When you put this in to Terminal and hit enter it should ask for your password (if you don't have SSH keys set up for your seedbox). When you type it in the Terminal won't show any letters so it will look like it's not working. Keep typing and hit enter anyway.
     
  5. nemrod thread starter macrumors member

    nemrod

    Joined:
    Mar 23, 2008
    #5
    I tried the following command line : sshfs SB1293@hector.useed.fr: ~/Seedbox -o volname="uSeed" -o reconnect,ServerAliveInterval=15,ServerAliveCountMax=3

    I thought ~/ was my home user and ~/Seedbox the folder i created in my home folder. Same result.

    then i tried : sshfs SB1293@hector.useed.fr: ~/Volumes/Users/Seedbox -o volname="uSeed" -o reconnect,ServerAliveInterval=15,ServerAliveCountMax=3

    Result : No such file or directory
     
  6. 0d085d macrumors regular

    Joined:
    Apr 23, 2015
    #6
    I think you've almost got it, you just need to be careful about which paths are on the server and which are on your local system.

    Make a new folder called Seedbox in your home directory and then try the following (careful to get the spaces in the right places):

    Code:
    sshfs SB1293@hector.useed.fr:~ ~/Seedbox -o volname="uSeed" -o reconnect,ServerAliveInterval=15,ServerAliveCountMax=3
     

Share This Page