Comment 21 for bug 210468

Revision history for this message
Walter Tautz (wtautz) wrote :

Just to comment further, I have a remote home directory that I like to be able to access from
my Ubuntu box. In particular I have an sshfs+autofs setup:

/etc/auto.master:
/autofs/sshfs/cs_student/home auto_home_sshfs -nobrowse

where auto_home_sshfs is a shell script in /etc :

#!/bin/bash
echo "`date`: $@" >>/tmp/`basename $0`.$$
# Shell script that excepts one argument, namely the userid
case $1 in
 .Trash*)
  exit 1;;
 *)
  echo "-fstype=fuse,rw,nodev,nonempty,noatime,allow_other,max_read=65536 :sshfs\#$1@server\:"
esac

 ssh-askpass (a gnome Gui tool that gets launched by something gvfsd?) kept prompting
me for .Trash@server and also .<email address hidden> (1000 is my uid on the local box)
passwords.

Alas it would be nice not to be prompted for a password since I have setup a private key login (it works with sshfs
directly invoked from the command line)