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!