RPi 2b SSH usually disconnects!
#1
Hi!
I use my Raspberry pi to connect a server using SSHFS, mounting a folder on the server to a folder on my Pi. My pi acts as a client. My Pi's OS is Linus. I use cable to connect the network, not WiFi

My connecting code is : ssh pi@IPaddress

However, after around 20 seconds, there is no response. It just shows 'Write failed; Broken pipe.'

I tried adding some 'TCPKeepAlive no','ServerAliveInterval 10' and 'ServerAliveCountMax 200' in my ~/.ssh/config, /etc/ssh/ssh_config, /etc/ssh/sshd_config.

After rebooting my Pi, it still disconnected after several seconds.

Does anyone know how to fix it? Thanks!
Reply
#2
It's not obvious that is a Kodi problem - you've only told us that the Pi is running linus - but which?
If you're trying to log in to the pi, perhaps the installation has been corrupted, or the SSH where you're attempting from needs updating (this has been the case with Putty on Windows fairly recently).
HTH
Derek
Reply
#3
Do you have the same issue when accessing the files through nfs or smb?

Note: sshfs isn't a good choice for performance - it will encrypt/decrypt the data which reduces network performance
(although I wouldn't expect disconnects unless there is another problem).
Reply

Logout Mark Read Team Forum Stats Members Help
RPi 2b SSH usually disconnects!0