Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sshfs -o ssh_command="" don't recognize windows path correctly #394

Open
abc19899 opened this issue Jul 3, 2023 · 1 comment
Open

sshfs -o ssh_command="" don't recognize windows path correctly #394

abc19899 opened this issue Jul 3, 2023 · 1 comment

Comments

@abc19899
Copy link

abc19899 commented Jul 3, 2023

first time

c:\Program Files\SSHFS-Win>"C:\Program Files\SSHFS-Win\bin\sshfs.exe" -o ssh_command="C:\Program Files\SSHFS-Win\bin\ssh.exe" root@9.134.129.221: Z -p 36000 -f -d
SSHFS version 3.5.2
executing <C:Program> <FilesSSHFS-Winbinssh.exe> <-x> <-a> <-oClearAllForwardings=yes> <-oPort=36000> <-2> <root@9.134.129.221> <-s> <sftp>
failed to execute 'C:Program': No such file or directory
read: Connection reset by peer

it seams that ssh_command is splitted by blank between Program and Files

second time I try to install sshfs in C:\SSHFS-win and then


c:\Program Files\SSHFS-Win>"C:\SSHFS-Win\bin\sshfs.exe" -o ssh_command="C:\SSHFS-Win\bin\ssh.exe" root@9.134.129.221: Z -p 36000 -f -d
SSHFS version 3.5.2
executing <C:SSHFS-Winbinssh.exe> <-x> <-a> <-oClearAllForwardings=yes> <-oPort=36000> <-2> <root@9.134.129.221> <-s> <sftp>
failed to execute 'C:SSHFS-Winbinssh.exe': No such file or directory
read: Software caused connection abort

it miss the \ in path

@abc19899 abc19899 changed the title sshfs sshfs -o ssh_command="" don't recognize windows path correctly Jul 3, 2023
@GKSONG
Copy link

GKSONG commented Feb 13, 2024

Have you tried this? ( 3 backslash) -- unfortunately not displayed in here
C: \\ SSHFS-Win \\ bin \\ ssh.exe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants