I have a Debian server which had a HDD failure and was re-installed identically (same hostname, same IP, same distro).
I used to be able to connect via SSH using Filezilla from my Ubuntu desktop but since the server was re-installed, I get the following error:
Status : Connecting to xxxxx.xxxxx.com:22...<br />
Response : fzSftp started<br />
Command : open "[email protected]" 22<br />
Error : Server unexpectedly closed network connection<br />
Error : Impossible to establish connection to server
I suspect fzSftp refuses to connect because the server fingerprint has changed but I don't know how to delete the old record in order to accept the new one.
The worst thing is that I am able to connect with Filezilla from a Windows computer without any problem!
Please help me, I already spent hours trying to fix it and it is really anoying!
Edit: I already tried to uninstall/reinstall filezilla, clear cache, delete filezilla hidden files (in user profile)... without success. I have no problem to connect using regular FTP and I have no problem connecting SSH via the console.
sftp
from commandline and get verbose log (sftp -vvv host
). You should be able to see the reason for rejecting.