I'm a tad confused why you would use sshfs to get to Samba shares...the protocols are different. More over if you're using sshfs you've already got access to the remote filesystem presuming all things are working properly. By default SSHFS will expect to connect on 22, thats SSH's port and its a reasonable expectation to make. There should be an option to change the port, if the GUI you're using doesn't support it then the command line tool will. If you don't have the right port then it will probably fail. Also if you haven't logged into the machine via SSH before then it will also fail because the SSHFS session will ask to validate the host in the background. Alternatively if you aren't running Samba locally on your machine you might be able to use SSH to set up a tunnel between your machine and the remote machine however keep in mind that if you wish to bind against a privileged port (more than likely, IIRC Samba runs on 139), however I've never done this myself. There seems to be a bit of doco out on how to do it though (http://www.google.com/search?q=samba+ssh+tunnel). This wouldn't involve MacFUSE at any point. To be honest I'd be avoiding Samba and trying to get SSHFS but the Samba route may be easier for you.
Sam Moffatt http://pasamio.id.au On Thu, Oct 23, 2008 at 3:44 AM, iain71 <[EMAIL PROTECTED]> wrote: > > Thanks. I believe that it is possible to connect to a Samba share > over the internet using ssh as a number of blogs/help pages have said > that this is the best way of doing it. I get no message and nothing > seems to happen when I try to connect. I can connect to the Samba > share over my LAN ok but not over the internet. > > I wonder whether sshfs expects to connect on port 22 rather than my > made up port? If so, maybe there is a line of code that I can change > to point it at the correct port. I can easily access my server using > ssh over the internet from my Mac laptop but using Terminal. But what > I am trying to set up is the ease of use that MacFuse plus sshfs > offers. > > On Oct 22, 3:18 pm, gvt <[EMAIL PROTECTED]> wrote: >> Can Samba be accessed via SSH? I thought that they are separate >> protocols (which would mean that you could not connect to Samba via >> SSH). >> >> Well if it IS possible, and something goes wrong while attempting to >> connect, you should receive an error message that tells you what the >> general problem was. Do you get an error message? What was the >> problem? >> >> Have you connected to this Samba share successfully via another >> method? > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "MacFUSE" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/macfuse?hl=en -~----------~----~----~----~------~----~------~--~---
