sshfs-win icon indicating copy to clipboard operation
sshfs-win copied to clipboard

Set Umask without permanent terminal open

Open globi84 opened this issue 1 year ago • 1 comments

Hi

When I use the command sshfs-win.exe" svc \sshfs.r\USERNAME@SERVER\home\share Z: USERNAME -o create_umask=0002, do I need the Terminal let it open.

The biggest problem is, what I think is. That everyone can see the Password in Cleartext. Is there a away to close the terminal or can I change the default options in a config file?.

Thanks for help.

regards

globi84 avatar Sep 02 '22 06:09 globi84

you can use key-based auth instead:

sshfs ubuntu@host:\ -p 22 b:  -C  -o uid=-1,gid=-1,idmap=user,create_file_umask=111,create_dir_umask=002,IdentityFile='c:/users/odmin/.ssh/id_rsa'

Unless you specify -f option (= foreground job), no need to keep the terminal open to maintain the mount point.

feedanal avatar Sep 15 '22 05:09 feedanal