If you're getting private key password prompts, then you have a problem with your provate keys. There are already enough howtos on the internet for setting up keys, and my howto here doesn't cover that.
If you're getting private key password prompts, then you have a problem with your provate keys. There are already enough howtos on the internet for setting up keys, and my howto here doesn't cover that.
I can login via ssh without a password without an issue (CLI). I am getting a GUI window asking for passcode.
rkrizan, your copied lines have space characters between some words and commas.
Narcis Garcia
I just checked fstab. I'm not clear why it post that way here, but there isn't spaces in the fstab entry.
Just to show that I am able to login without a password with the 1000 id:
root@capone:~# umount /home/ryan/fuse
root@capone:~# /etc/network/if-up.d/mountsshfs
read: Connection reset by peer
/home/ryan/fuse failed to mount as #1000
root@capone:~# su ryan
ryan@capone:/root$ ssh ryankrizan@youecho.com cat /proc/cpuinfo|grep bogomips
bogomips : 5985.37
bogomips : 5984.25
ryan@capone:/root$
I stumbled upon a question: I use your script not only for sshfs, but also for CIFS mounts to just mount and unmount when the network (dis)connects. (I added the comment also to the CIFS share).
Since I upgraded to Natty, my computer takes ages to shutdown (actually, 5 minutes). If I look at the messages which are shown on the console during shutdown, I see, just before the computer finally shits down, the follwoing message:
Could this be related to this script? As it works correectly in previous version, I doubt it is related, but you never know...Code:CIFS VFS: Server xxx.xxx.xxx.xxx has not responded in 300 seconds.
ernstblaauw, you need to try the script manually, and also test manually deactivating NetworkManager without shutting down the system.
Narcis Garcia
I suggested you a test to diagnose the problem.
Try the procedure first in the same permissions situation you have, next with root permissions if you feel.
Narcis Garcia
I executed manually umountsshfs, as user and with sudo:
However, the share is still available and if I shutdown, the delay is still there.Code:$ /etc/network/if-down.d/umountsshfs umount: /home/ernstblaauw/neostrada mount disagrees with the fstab $ $ sudo /etc/network/if-down.d/umountsshfs $
The line in my fstab looks like:
I also stopped the network-manager applet:Code://172.19.3.10/share /mnt/nmt cifs comment=sshfs,username=xxx,password=xxx,noauto,nounix,users,exec,uid=1000,gid=1000,domain=THUISNETWERK,iocharset=utf8 0 0
If I shutdown, the dealy is stil there.Code:sudo killall nm-applet
Do you have any clues what could be the problem, or is probably the CIFS server buggy?
Bookmarks