Mark959

Members
  • Posts

    2
  • Joined

  • Last visited

Mark959's Achievements

Noob

Noob (1/14)

0

Reputation

  1. Greetings, My goal is to bind an SFTP directory to a directory on my unRaid server. I installed SSHFS with NerdTools, mkdir on command line, and ran sshfs, it asks for my password, processes, then it gives me the "No such file or directory" in regards to the SFTP directory. It doesn't matter what I change, I can't get any closer. Probably something obvious, but I'm still a beginner..: root@Server:/# sshfs -o debug,allow_other,port=8222,default_permissions user@ip:8222/directory/ /mnt/user/directory SSHFS version 3.7.3 executing <ssh> <-x> <-a> <-oClearAllForwardings=yes> <-oport=8222> <-2> <user@ip> <-s> <sftp> user@ip's password: hostfile_replace_entries: link /root/.ssh/known_hosts to /root/.ssh/known_hosts.old: Operation not permitted update_known_hosts: hostfile_replace_entries failed for /root/.ssh/known_hosts: Operation not permitted Server version: 3 Extension: [email protected] <1> Extension: [email protected] <2> Extension: [email protected] <2> Extension: [email protected] <1> Extension: [email protected] <1> user@ip:8222/directory: No such file or directory Any help is greatly appreciated, thanks!
  2. Hey all, I've tried sifting through tons of information about users with share/smb issues, but didn't see mine. Maybe my search terms weren't good enough, either way I could use some help! I have an unraid server running on 6.11.5, I created shared folders, joined them just fine on windows and mac devices, but on windows 10 after you logout they lose access! The drives are still mapped but the credentials are "incorrect". Works fine on Windows 11, what gives? I have a buddy with an unraid server with the exact same issue at their home, so I shouldn't be isolated in this. I've had other NAS's where the shares worked fine for years, so I'm lost at this point. I had to give access to multiple users over a windows server, so I created a batch script to map it on login as a work around, which worked fine but not being a batch wizard it gave access to all users on our domain. It isn't ideal having the user/pass in plain text, but it is fine in this situation. I tried this batch both as below, and if statements with the same command per user. Below worked great, except somehow it gave EVERYBODY on the domain access, not just the users I identified in the If statements. I also tried setting another login script for the several users manually, and using group policy management to try to map drives on login, both are much less convenient. ___________________________________________________________________________ Example of my batch: if '%username%' == 'user1' (call :DrvMap) else GoTo :ENDFOR if '%username%' == 'user2 (call :DrvMap) else GoTo :ENDFOR :DrvMap ECHO Please wait... Mapping Drives net use Z: \\ip.address\Storage /user:UnraidServer\SharedFolder password GoTo :ENDFOR :ENDFOR cls @exit ___________________________________________________________________________