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

unable to connect to drive error 67

Open aslahfidaiyi93 opened this issue 4 years ago • 2 comments

Hi @billziss-gh,

I'm currently using the SSHFS to mount my linux drives to my windows server. I have issues connecting to one of my linux servers and the error 67 keeps coming out I was able to mount my other drives from 3 different linux servers. Have no clue as to why I'm unable to connect to this particular server.

I'm running a batch file to connect this drives automatically after user logs in and below is the command I'm currently running which works for my other 3 servers but doesn't for this 1 particular server.

net use U: \sshfs\[email protected]....\opt\IBM\WebSphere\AppServer\profiles /user:emsusr abcd /persistent:Yes

I have tried using sshfs-win.exe svc \sshfs.k\[email protected] K: "emsusr" "-oIdentityFile=c:/Keys/id_rsa.txt" and this works. But somehow a net use command to mount the drives is giving me a system error 67 for only 1 server and works for the remaining 3 servers.

The intention of using net use is to create a batch file that will execute automatically upon logging in for all users. Any workaround on this?

Any help is greatly appreciated.

aslahfidaiyi93 avatar Mar 17 '21 01:03 aslahfidaiyi93

#279 solved it 😁

BSoDium avatar Mar 25 '21 20:03 BSoDium

I also got that error with sshfs-win 3.5.20357. I only managed to workaround using SSHFS-WIN-MANAGER, which managed to mount at the first attempt.

But there is a lot of discussion in ticket #155 which is about a similar problem, maybe it has a workaround which doesn't rely on a frontend.

Chealer avatar Apr 21 '21 15:04 Chealer