coolDude
coolDude

Reputation: 43

sshfs mount failing using fabric run command

I am trying to mount the SSHFS using the following run command

run("sshfs -o reconnect -C -o workaround=all localhost:/home/test/ /mnt")

and it is failing with the following error

fuse: bad mount point `/mnt': Transport endpoint is not connected

However if i demonize it works. Is there any work around?.

Upvotes: 1

Views: 368

Answers (1)

coolDude
coolDude

Reputation: 43

I figured out finally there is an issue with SSH and need to pass pty=False flag.

run("sshfs -o reconnect -C -o workaround=all localhost:/home/test/ /mnt",pty=False)

Upvotes: 2

Related Questions