UpdraftPlus Home › Forums › Paid support forum – UpdraftPlus backup plugin › SFTP stopped working
- This topic has 6 replies, 2 voices, and was last updated 9 years, 4 months ago by udadmin.
-
AuthorPosts
-
April 28, 2015 at 5:38 pm #115242MahmoudParticipant
Greetings,
SFTP stopped working about a month ago. I thought it was because the WP cache was too low for the number of extensions running (less than 10). Today we got the cache issue resolved, and I wanted to kick off a backup.
I have tested SFTP using FileZilla and sftp from Cygwin, both of which work fine. I use a simple username + password, no key.
Test SCP/SFTP Settings result:
“SFTP setting test result: FailedSSH 2 login failed”
Log result:
2963.847 (9) PHP event: code E_USER_NOTICE: Cannot connect to 66.192.175.218. Error 110. Connection timed out (line 843, wp-content/plugins/updraftplus/includes/phpseclib/Net/SSH2.php)
2963.849 (9) SSH 2 login failedI am using SFTP on port 22.
My backup server has never been setup for SSH. Not sure why it appears to be using that.
April 28, 2015 at 8:19 pm #115298udadminKeymasterHi,
Cannot connect to 66.192.175.218. Error 110. Connection timed out
This means that the network connection to the SFTP server from the webserver was not successful. 110 in particular means that no network traffic passed at all. You will need to speak to whoever runs the webserver to ask them to allow the traffic – presumably it is firewalled. (It might also be firewalled at the SFTP server’s end, but you’d probably know about that if it was).
David
April 29, 2015 at 6:23 pm #115628MahmoudParticipantHey, thanks for the feedback.
The SFTP server is in our COLO, and we manage the SonicWall between the Internet and the internal servers. I conferred with our Network Engineer, and he confirmed that the firewall is configured correctly. Additionally, I personally tested access using FileZilla SFTP and Cygwin64 SFTP from our other site via a public IP. I have also tested Cygwin64 SFTP access from my own personal home computer with a residential dynamic public IP. All these connections work fine. Nothing is blocking the connection.
One thing… I may be wrong, but it seems to me that the UpdraftPlus plugin should be using SFTP but the logs seem to indicate it is using SSH? The server is only configured to receive SFTP connections from any public IP on port 22.
Thank you again.
April 29, 2015 at 8:27 pm #115661MahmoudParticipantWhen I logon to the remote server using sftp, I do get this message. Could UpdraftPlus be hanging up on something similar? It used to work fine over a month ago.
jwilmoth@BTS-LTP-08 ~
$ sftp [email protected] 22
The authenticity of host ‘66.192.175.218 (66.192.175.218)’ can’t be established.
ECDSA key fingerprint is 59:26:c5:ce:f2:db:ad:29:4d:de:3f:68:4e:36:f4:85.
Are you sure you want to continue connecting (yes/no)?When I choose yes, I am then told that it is permanently added to my known_hosts file. And then I am prompted for the password which takes me right in.
The following is added to my known_hosts file in c:\cygwin64\home\jwilmoth\.ssh\ folder.
66.192.175.218 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBNQlhPoWQq+xBuxkaL1PbM5flwvoTVPU1b/+4KPjtSVYj/rKeiQ0QJEfEPw5mp/jfv+No/wXao4fs7M6ImyNXMg=
May 5, 2015 at 1:58 pm #116179udadminKeymasterIs this still the message you are getting when using UpdraftPlus?
Cannot connect to 66.192.175.218. Error 110. Connection timed out
David
August 11, 2015 at 5:54 pm #123922MahmoudParticipantGreetings,
I finally received authorization from the client to contact the web host provider to determine if they were blocking or inhibiting SFTP traffic in any way. Unfortunately, they couldn’t confirm or deny it. That brings me back to wondering why it was working for about a month and then suddenly stopped working.
I wanted to revisit this above… specifically that when I connect to the SFTP server from a new IP, I get a prompt in FileZilla wanting to know what to do with the key. I found that I can erase these keys so cause it to prompt me again by referencing article: https://forum.filezilla-project.org/viewtopic.php?t=23184
The curious thing is that I am using username/password to authenticate to the SFTP server using FileZilla. And it wants to know if I want to save the key. I can connect just fine. So comparing this to UpdraftPlus, the SFTP/SCP page says (under Password), “Your login may be either password or key-based – you only need to enter one, not both.” But when I use the same username/password and click Test SCP/SFTP Settings button I get, “SFTP settings test result: FailedSSH 2 login failed”.
So could it be that that step in FileZilla which prompts me what to do with the key is where this is breaking in UpdraftPlus–because it is not prompting for that or saving that key anywhere?
August 12, 2015 at 8:31 pm #124147udadminKeymasterHi Mahmoud,
The host key and a key used for login are two different things… whatever the cause of your login problem, it’s not that…
David
-
AuthorPosts
- The topic ‘SFTP stopped working’ is closed to new replies.