I'm trying to mount a drive from my work PC to my home PC using the command below:
sudo sshfs -o allow_other [email protected]:/ /mnt/home-pc
This command was working fine before. However, I've just re-installed the OS on my home PC. Now typing the command gives me an error "read: Connection reset by peer".
Any idea what is causing this? I can still ssh into my home PC after typing
"ssh-keygen -f "/home/work_username/.ssh/known_hosts" -R home.ip"
But somehow this sshfs still doesn't work. Both machines run Ubuntu 18.04.
0 Answers