michaelogrant / macfusion

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

keep receiving error "Authentication has failed." #295

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. click mount on the item
2.
3.

What is the expected output? What do you see instead?
I expect the ssh system to mount in the finder

I receive the error "Authentication has failed."

What version of the product are you using? On what operating system?
2.0.4
Mac OS X 10.6.8

Please provide any additional information below.
This has always worked for me in the past. I have been using macfusion for 
quite a while.
I have the correct username/password combination in the configuration.

here is what the log shows 

(SSHServerFS, appleTV root, 10/5/11 7:37 AM) debug1: ssh_rsa_verify: signature 
correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
Welcome to the AppleTV (via atv-usbcreator)
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Offering public key: /Users/tim/.ssh/id_rsa
debug1: Authentications that can continue: publickey,password
debug1: Trying private key: /Users/tim/.ssh/id_dsa
debug1: Next authentication method: password
debug1: read_passphrase: can't open /dev/tty: Device not configured
debug1: permanently_drop_suid: 501
(MFFilesystemController, 10/5/11 7:37 AM) Invalid token in filesystemsForToken: 
5886EEFD-1D08-40B9-AADA-98A320677A84
(NSCFString, 10/5/11 7:37 AM) Could not get fs for token
(SSHServerFS, appleTV root, 10/5/11 7:37 AM) debug1: Authentications that can 
continue: publickey,password
debug1: No more authentication methods to try.
Permission denied (publickey,password).

Original issue reported on code.google.com by timcr...@gmail.com on 5 Oct 2011 at 12:42

GoogleCodeExporter commented 8 years ago
Solution is simple. Just increase Mount timeout in Macfusion settings. 20 sec 
works for me!

Original comment by adriandr...@gmail.com on 29 May 2012 at 7:44

GoogleCodeExporter commented 8 years ago
This is not a solution.Whit this I just have to wait 20 seconds to get the same 
error again.

Original comment by differe...@gmail.com on 25 Aug 2012 at 9:41

GoogleCodeExporter commented 8 years ago
For me this worked because it was cutting off to quickly before the server 
responded.

I suggest you try to debug via the command line first using -vvv option to see 
extra verbose information. Once you have clarified a connection can be made 
with your user, and you can access the contents of the mount point. Then try to 
make that work in the GUI of mac fusion.

For command line just enter terminal and run something like:

$ cd /Volumes
$ mkdir mountpoint
$ sshfs  user@some-host.net:/home/user/ /Volumes/mountpoint 
-oauto_cache,reconnect,volname=somename,defer_permissions -P 22

This will mount user@some-host.net's home directory to /Volumes/mountpoint on 
port 22 (that's the -P for a nonstandard port specify it here) the options 
allow for caching, auto reconnect and sets the Volume name to somename. 

You can specify a public key via using -oIdentityFile=~/.ssh/id_dsa for example 
to set your dsa public key. You can watch the status via adding -vvv 

Verbose Output:

sshfs -vvv user@some-host.net:/home/user/ /Volumes/mountpoint 
-oIdentityFile=~/.ssh/id_dsa,auto_cache,reconnect,compression=yes,volname=somena
me,defer_permissions -P 600

This adds a public key and connection to 600, you can also set up in 
~/.ssh/config format

Original comment by xxxbe...@googlemail.com on 31 Oct 2012 at 11:19

GoogleCodeExporter commented 8 years ago
I am more curious why this happens. It worked fine for me under 10.6 and 
stopped working in 10.8.  Any idea why it would refuse to use supplied username 
and password. using private key files works, but what if you can not use it. 

Original comment by denis.bo...@gmail.com on 3 Nov 2012 at 8:08