Debug info viewable for scp/sftp Test Connection failure?

UpdraftPlus Home Forums Paid support forum – UpdraftPlus backup plugin Debug info viewable for scp/sftp Test Connection failure?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #128974
    Andrea Silas
    Participant

    — Issue: On Settings page >> choose SCP/SFTP backup target >> Test Credentials >> enter all usual stuff that normally works with other migrations to dreamhost >> generic failure msg on popup after about 3-5 seconds. Same result whether we check box “Use SCP instead of SFTP” or not.

    — I have the full, premium dev license, Version: 2.11.9.20.
    — Source: godaddy
    — Destination: Dreamhost shared hosting
    — Dreamhost user: shell user with sftp privs, and we have checked that ssh and sftp work apart from doing it in Updraft Plus.
    — We don’t see dreamhost blocking the ip address range that we think we are trying to connect with from godaddy.
    — WordPress 4.3.1 running Nash theme.
    — No security plugins or other weird ones that might be suspect.
    — Selected to have debug info mailed to me, but nothing comes there or on screen.
    — Just want that debug info at this point, if any way to get it. Otherwise, if that is not possible, just the fix, whatever that is.
    — Doing backup with Dropbox now, which does not have any issue. Default downloadable backups also work fine.

    thx

    #129016
    udadmin
    Keymaster

    Hi,

    There isn’t an easy way to get debugging output on the SFTP connection; however, it can be emulated fairly easily.

    UpdraftPlus uses the phpseclib library for SFTP, which is the most popular PHP SFTP library – https://phpseclib.sourceforge.net/ . If you download a copy of this library, and upload it to your webspace, and upload a copy of the test script for debugging SFTP (adjusting the username/password to match yours) – https://phpseclib.sourceforge.net/documentation/net.html#net_sftp_debug – then you should then be able to get debug output.

    And/or, you could send a private reply to this post (tick the ‘private reply’ checkbox) with your SFTP credentials, and we can test what happens here.

    Finally – you mention the website is with GoDaddy. I think, based on some past support questions, that some GoDaddy servers firewall outgoing connections that aren’t to common ports, and port 22 (SFTP) may be firewalled outgoing on your webserver.

    David

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Debug info viewable for scp/sftp Test Connection failure?’ is closed to new replies.