Page 6 of 6 FirstFirst ... 456
Results 51 to 60 of 60

Thread: HOWTO: Mount SSH Shares

  1. #51
    Join Date
    Feb 2005
    Location
    Omaha, Nebraska
    Beans
    70
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: Mount SSH Shares

    FYI, it seems that the location of fusermount has changed as of Gutsy Gibbon (7.10)
    It's now in /bin/fusermount instead of /usr/bin/fusermount

  2. #52
    Join Date
    Apr 2006
    Location
    Green Bay, WI, USA
    Beans
    399
    Distro
    Kubuntu 8.04 Hardy Heron

    Re: HOWTO: Mount SSH Shares

    Quote Originally Posted by penvzila View Post
    What if my username on the server I'm trying to log in to is different than my account name in Ubuntu? I don't see any way for sshfs to handle that.
    You just put your remote username and @ before the remote machine address, like so:
    Code:
    sshfs username@remote-system-name:/remote-folder /media/mount-name
    A computer without Microsoft is like a chocolate cake without mustard.

  3. #53
    Join Date
    Nov 2007
    Beans
    37

    Re: HOWTO: Mount SSH Shares

    how to make it other way - mount local folder on remote ssh server.
    my computer client's fodler mount to ssh server
    ?

  4. #54
    Join Date
    Aug 2007
    Beans
    13

    Re: HOWTO: Mount SSH Shares

    I had the same problem and this is what I did to fix it!

    #add user to fuse
    adduser user fuse

    Then this part is what took me the longest to figure out.

    LOGOFF!!

    Yep after four hours it dawned on me that maybe in order to reset my group setting I may have to logoff!!

    Work great!

  5. #55
    Join Date
    Oct 2008
    Beans
    2

    Re: HOWTO: Mount SSH Shares

    I'm compiling fuse for developing. The source was retrieved by apt-get and was compiled naively with no additional option. This is what I got when trying the example in fuse code:

    fusermount: mount failed: Operation not permitted

    I've looked at all the suggestions in previous threads and I'm sure that there's nothing wrong with my setup. After banging my head on the wall and lots of hair pulling, this is what I've found:

    - The binaries in fuse example link against libfuse.so in my compilation, which turns out to be the problem.
    - To validate this, I wrote a small program using fuse. Linking against the libfuse.so provided by Ubuntu works just fine, but linking against the one I compiled poses "Operation not permitted".

    I thought I missed some option during configure, but it turns out not very likely. So I think Ubuntu is doing something funky here.

    And btw, this is Ubuntu Hardy and fuse-2.7.2. I hope this can save some of us lots of frustrating hours.

    Cheers.

  6. #56
    Join Date
    Mar 2006
    Beans
    55
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: Mount SSH Shares

    When I first started to use sshfs a couple of months ago, I found that copying files and browsing directories would cause my system to hang ... only for a couple of seconds - but it was enough to make the system cumbersome.

    Adding the following parameters to the standard 'sshfs' command, made my connection run MUCH faster.. ymmv, but I thought I'd pass on the tip.

    -o ServerAliveInterval=15 -o cache_timeout=600
    Last edited by lwhitmore; October 22nd, 2008 at 12:55 AM.

  7. #57
    Join Date
    Jan 2009
    Location
    Online
    Beans
    57
    Distro
    Ubuntu UNR

    Re: HOWTO: Mount SSH Shares

    Quote Originally Posted by GrammatonCleric View Post
    I believed that fusemount is installed so root only and execute it try the following.

    Code:
    sudo chmod +x /usr/bin/fusermount
    - GC
    All,

    I was having the same problem until I used an option with sshfs:

    Code:
    $ sudo sshfs -o allow_other <SERVER_SSH_USERNAME>@<SERVER_EXTERNAL_IP>:/<SHARED_DIRECTORY_ON_SERVER> /<WHERE_TO_MOUNT_ON_CLIENT>
    The -o allow_other will allow any user on the local client to open the folder. Remember that the read/write is done on the Server side not on the client side. But the access to the SSH pipe is determined on the client side. Thus this option is allowing any user to access the ssh pipe!

    Ahhhh, encryption!!

  8. #58
    Join Date
    Sep 2008
    Location
    Florida
    Beans
    64
    Distro
    Ubuntu 13.04 Raring Ringtail

    Smile Re: HOWTO: Mount SSH Shares

    I followed the instructions in the initial post with perfect success! Thank you!

  9. #59
    Join Date
    May 2006
    Beans
    75

    [withdrawn]

    withdrawn
    Last edited by Jack Waugh; July 24th, 2011 at 12:54 AM. Reason: Lost Interest

  10. #60
    Join Date
    May 2008
    Location
    /dev/null
    Beans
    216
    Distro
    Ubuntu

    Smile Re: HOWTO: Mount SSH Shares

    Quote Originally Posted by sciurus View Post
    sshfs has the advantage over a KIOslave or GnomeVFS that any program can use it. For instance, in Kubuntu Amarok wasn't able to play my remote music through fish:/ but worked fine using sshfs.

    1) Install the software
    sudo apt-get install sshfs

    2) Add fuse to /etc/modules
    sudo nano /etc/modules

    3) Add yourself to the 'fuse' group, then log out and log in again.
    sudo adduser your-username fuse

    4) Create a mountpoint and give yourself ownership
    sudo mkdir /media/mount-name
    sudo chown your-username /media/mount-name

    5) Mount the filesystem
    sshfs remote-system-name:/remote-folder /media/mount-name

    6) Unmount the filesystem
    fusermount -u /media/mount-name

    Directions taken from http://ubuntu.wordpress.com/2005/10/...m-using-sshfs/ More info on sshfs is available at http://fuse.sourceforge.net/sshfs.html

    I've run into a strange problem on two Kubuntu machines where, after using sshfs, you're unable to unlock your own computer. Logging in works fine, but you can't return from a password-protected screensaver. My solution was to start a new session, change my password, then return to the old session and use the new password to unlock it.

    Thanks a lot - works.

Page 6 of 6 FirstFirst ... 456

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •