michaelogrant / macfusion

Automatically exported from code.google.com/p/macfusion
Other
1 stars 1 forks source link

SSH | Dropbear sshd | Dropbear Server | MacFusion: Mount Failed | MacFusion failed to Mount *hostname*: remote host has disconnected #222

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Attempt to mount a dropbear SSH server
2.
3.

What is the expected output? What do you see instead?
Expected a mounted sshfs volume.  Recieved the error: MacFusion: Mount Failed 
(MacFusion 
failed to Mount *hostname*: remote host has disconnected.

Switching from Dropbear to OpenSSH on the N800 solved the problem.

What version of the product are you using? On what operating system?
MacFusion 1.1 Beta2 (1.1)
Dropbear sshd v0.48 (OpenWRT)
Dropbear Server 0.49-1mh3 (Nokia N800)

Please provide any additional information below.
Dropbear SSH servers were using the default settings.  I attempted to connect 
with both public/
private key as well as password.

Original issue reported on code.google.com by jonho...@gmail.com on 2 Jul 2007 at 4:39

GoogleCodeExporter commented 8 years ago
I'm a moron and didn't "Enter one-line summary"

If anyone has the ability, a good title might be "Can't mount a Dropbear SSH 
server with SSHFS"

Thanks ;)

Original comment by jonho...@gmail.com on 3 Jul 2007 at 5:01

GoogleCodeExporter commented 8 years ago
jonhohle: thanks. 

Errors such as 

> remote host has disconnected

are _occasionally_ spurious; we shouldn't be sure that the connection was made 
(then disconnected). On the other hand 

> Switching from Dropbear to OpenSSH on the N800 solved the problem.

so I'm inclined to think that 

> remote host has disconnected

_was_ true in this instance.

##

I'm not familiar with Dropbear. 

Maybe off-track, but consider MacFusion issue 27 
<http://code.google.com/p/macfusion/issues/detail?id=27>. 
relating to ~/.ssh/known_hosts

Is it possible that the server's host key changed?

> a moron 

Hardly — thanks for your Bonjour-related contributions!

Original comment by grahampe...@gmail.com on 4 Jul 2007 at 2:08

GoogleCodeExporter commented 8 years ago
Just confirming I see the same issue with dropbear, also on maemo, but this 
time on 
a 770. Will try switching to OpenSSH as well. Would be nice to have a fix.

Original comment by johnkeny...@gmail.com on 5 Feb 2008 at 11:08

GoogleCodeExporter commented 8 years ago
Forgot to mention. I checked and the server's host key has not changed, so I 
don't 
think it is related to the previous issue.
Thanks -John

Original comment by johnkeny...@gmail.com on 5 Feb 2008 at 11:09

GoogleCodeExporter commented 8 years ago
Just to confirm all works fine with OpenSSH, although I would prefer to use 
dropbear 
as it is lighter hence faster when you only have 200MHz under the bonnet.
Thanks anyway for such an amazing application. (It brings me back to my old 
Amiga 
days with FTPMount ...)

Original comment by johnkeny...@gmail.com on 5 Feb 2008 at 11:31

GoogleCodeExporter commented 8 years ago
Now I realise that sshfs relies on using an sftp server which is not included 
in 
dropbear :-)

Will try to go back to dropbear and use the openssh sftp server and see what 
happens
 ...
ipkg install openssh-sftp-server

Hopefully this information will be useful for other Nokia tablet users such as 
n800, 
n810, 770 as well as users of openwrt etc.

Original comment by johnkeny...@gmail.com on 6 Feb 2008 at 4:04

GoogleCodeExporter commented 8 years ago
Confirmed. Dropbear functions perfectly using the sftp-server binary from 
openssl.
For mameo users just drop it into /usr/lib/openssh/sftp-server and off you go.

Cheers, -John

Original comment by johnkeny...@gmail.com on 6 Feb 2008 at 10:37