After a recent reboot, SFTP no longer works.
This is what the log file looks like:
|09:39:32|Status: Connecting to server.com:22…
|09:39:32|Response: fzSftp started, protocol_version=11
|09:39:32|Command: open domain.com@server.com 22
|09:39:34|Error: Could not connect to server
Then: Waiting to retry… and the same lines ones more.
I’ve read about others having the same problem but still haven’t been able to resolve it.
Thanks to someone who can give a concrete advice.
In Filezilla, I had to go to File > Site Manager and enter the settings there. It seems to default to FTP and doesn’t auto detect the connection type. I was getting similar errors using the default screen entry.
Had exactly the same for approximately 30 minutes today. No config or other change - neither in Virtualmin nor on terminal-level. Went haywire and eventually deleted the entry in Filezilla’s server manager. Closed the program, re-opened it, saved the SFTP details in server manager et voilà: SFTP connection was back in business. No clue what triggered it but curious to learn if this is a coincidence…
@Steini Sorry. That didn’t help in my case.
I have a similar server without problem.
I have compared the two but can not find any differences.
This one was ok before reboot. Both were rebooted.
Well if you fixed it by doing things to filezilla, the issue lie with filezilla. Do you have any security programs that may block network connection by a program. Try a different ftp client.
If you think its the server check log files on server.
It just crossed my mind: Do you happen to have the login via SSH key enabled for this particular user? If you have an SSH key file available, feed that into Filezilla’s server manager and see what happens next…