Reputation: 849
I have a working directory "os" in my local machine which I want to mount to my raspberry pi. I am able to ssh into my pi and when I run this command from pi:
sshfs [email protected]:/home/andy/os /root/andy/os/
I get the error:
read: Connection reset by peer
How do I solve this?
Upvotes: 0
Views: 3362
Reputation: 849
There was no server installed to listen to in my machine, So I installed the openssh-server in my local machine which solved the problem:
sudo apt-get install openssh-server
Upvotes: 2