1

hello I have been installed libfuse and sshfs in my ubuntu and the kernel version is 4.4.0-38.

And now I want to sshfs user@localhost:/dir /mnt. but it always shows the error message:

read: Connection reset by peer

How come it always happened? Is there anyway to mount a disk by fuse?

4
  • You're missing the port. Commented Oct 5, 2016 at 5:34
  • @JuliePelletier I tried, still not. eg. sshfs -o port=1234 user@localhost:/home /mnt Commented Oct 5, 2016 at 6:22
  • What does the pure ssh reports? ssh -vvv user@localhost? Did you set up the access? Commented Oct 5, 2016 at 8:38
  • 1
    @Jakuje Oh, I knew. I didn't install the openssh-server on ubuntu, it closed default. Thanks Commented Oct 5, 2016 at 8:58

1 Answer 1

1

Running the pure ssh in debug mode (ssh -vvv user@localhost) will give you a guide what is wrong. In this case, you need to install the openssh-server package to have where to connect.

3
  • BTW, Is there anyway to mount 2 filesystems by FUSE? thx Commented Oct 5, 2016 at 10:08
  • Yes, but you need to choose different mount point. Commented Oct 5, 2016 at 10:35
  • any words about that? Commented Oct 5, 2016 at 10:48

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.