Open pirmd opened 8 years ago
udevil is a front-end for mount, which in turn mounts sshfs via its mount helper. For it's own security checks (determining what the user may do based on udevil.conf), udevil must have the real hostname or IP on the command line. Otherwise it would need to lookup the address in ssh's configuration files, which at present it doesn't do. No real plans to add that.
You might consider using a shell alias instead, a properly installed script to run udevil the way you want, or use the system hosts file.
Also, unless you really do need to mount sshfs as root in your situation (what udevil does), you can also run sshfs directly as a normal user to create a fuse mount, instead of going through udevil.
Also note when using ssh config files in general, mounting ssh via udevil will use root's ssh config file in /root/.ssh/, not the config file of the user running udevil. (udevil always runs mount as root, so root's config files are used by sshfs.)
It seems that at the time being udevil mount does not allow fetching connection data from .ssh/config file, maybe because
parse_network_url
tries toget_ip
from the Host keyword name linking to .ssh/config entry believing it to be the host address.Sorry if I miss something and misuse the udevil mount scheme with ssh