/usr/bin/afuse-avahissh is in afuse 0.4.1-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 | #!/bin/sh
cwd="`dirname "$0"`"
mnt_templ="sshfs -o BatchMode=yes %r:/ %m"
unmnt_templ="fusermount -u -z %m"
pop_root_cmd="avahi-browse -trkp _sftp-ssh._tcp | grep '^=' | cut -d';' -f7"
timeout="10s"
"$cwd"/afuse -o mount_template="$mnt_templ" -o unmount_template="$unmnt_templ" -o populate_root_command="$pop_root_cmd" -o fsname=sshnet -o timeout="$timeout" "$@"
|