Sftp suddenly failing

sftp

#1

Hi, i have had quickbox installed for a couple of weeks now, but today suddenly the sftp isnt working anymore, i can sometimes connect via ssh client, but my sftp client won’t connect at all, and when it does, the transfers wont start.
it seems to be on off on the sftp, but ftp over tls works perfectly?

Status: Opretter forbindelse til myip:4747…
Svar: fzSftp started, protocol_version=5
Kommando: open “[email protected]” 4747
Kommando: Pass: **********
Fejl: Forbindelsen fik timeout efter 20 sekunders inaktivitet
Fejl: Kunne ikke forbinde til server
Status: Venter på at prøve igen…
Status: Opretter forbindelse til myip:4747…
Svar: fzSftp started, protocol_version=5
Kommando: open “[email protected]” 4747
Kommando: Pass: **********
Fejl: Forbindelsen fik timeout efter 20 sekunders inaktivitet
Fejl: Kunne ikke forbinde til server

edited IP and Username :stuck_out_tongue:
tell me if you need it translated or need more info :stuck_out_tongue:


#2

A translation would be swell, I understand most of it but not all.

One thought though, have you tried restarting fail 2ban from ssh?

If you can’t connect to ssh though you shouldn’t be able to connect to sftp as they use the same port


#3

Status : Connects to MyIP : 4747 …
Answer: fzSftp started , protocol_version = 5
Command : open "username @ MyIP " 4747
Command: Pass: **********
Error: The connection timed out after 20 seconds of inactivity
Error: Could not connect to server
Status : Waiting to retry …
Status : Connects to MyIP : 4747 …
Answer: fzSftp started , protocol_version = 5
Command : open "username @ MyIP " 4747
Command: Pass: **********
Error: The connection timed out after 20 seconds of inactivity
Error: Could not connect to server

This could be an issue between you and your DC hosting the server. Maybe the ISP is doing something funky with ssh connections? Also, which FTP client are you connecting with?


#4

I have lftp setup with sftp and mirror doing pulls from my seedboxes. I have it setup for passwordless ssh.

It’s still working on 2.4.


#5

using filezilla
but the thing is i have used rtorrent for a long time, and it is only with the quickbox installation it stops working properly, so i know it isn’t my ISP :stuck_out_tongue:
and it is a computer on my local network im running it on :stuck_out_tongue:


#6

Well, I can say with absolutely certainty there is nothing in QuickBox that would result in your SFTP connection becoming unusable all while your ssh is - vice versa. At this point I would suggest looking into your local systems firewall to see if it is blocking traffic for any reason. This is further emphasized with there being no reason it would randomly become unusable and then usable again.

[ ] Check firewall on your local machine
[] Check to see if fail2ban is blocking you as suggested by @liara


#7

maybe do a router reset could be a mater of ports being blocked from modem or router.


#8

Also ensure that your local FileZilla is up to date.

There is no reason that ssh should work but sftp does not – they both use openssh server and sftp will work even in the absence of an FTP server