Announcement

Collapse
No announcement yet.

SFTP connection error

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • SFTP connection error

    Hello,
    I am getting this error (though I can see the files on server, just can't seem to open them). Using BC4.2

    7/21/2017 2:53:00 PM Server key [RSA 2048 a9:8b:5e:7f:e8:17:f5:4b:b5:b5:b3:cc:d8:81:7b:a5]
    7/21/2017 2:53:04 PM Public key agent authorization successful.
    7/21/2017 2:53:04 PM Server software: mod_sftp
    7/21/2017 2:53:04 PM Compression: none
    7/21/2017 2:53:04 PM Encryption: aes256-ctr
    7/21/2017 2:53:04 PM MAC algorithm: hmac-sha2-512
    7/21/2017 2:53:04 PM Connected to .....com port 1022
    7/21/2017 2:53:04 PM Using SFTP version 6.
    7/21/2017 2:53:04 PM Server information:
    7/21/2017 2:53:04 PM Extensions:
    7/21/2017 2:53:04 PM check-file
    7/21/2017 2:53:04 PM copy-file
    7/21/2017 2:53:04 PM space-available
    7/21/2017 2:53:04 PM vendor-id
    7/21/2017 2:53:04 PM SFTP versions supported: 2,3,4,5,6
    7/21/2017 2:53:04 PM Character set: utf8
    7/21/2017 2:53:04 PM Current Folder: /
    7/21/2017 2:53:04 PM Connection closed.
    7/21/2017 2:53:04 PM Unable to retrieve sftp://[..]@[...]com:1022/public/.htaccess: SFTP component not connected

  • #2
    Hello,

    Thanks for the log. It looks like that from the timestamp the log has an error almost immediately. In your description, it sounds like the file directory loads and you can see the files, but only get an error once you try to open a file compare window (double click a file to view it)? But the log looks like it might throw an error as soon as it loads the directory. Is this log error from just the load, before double clicking a file? And if so, what error is posted when you try to open a file?

    Also, all BC 4.x updates are free for 4.x users. Please update to the latest 4.2.2 from the Help menu -> Check for Updates, or from our website.

    You can also enable additional debug logging in the Tools menu -> Options dialog, Tweaks tab, scroll down to the Log panel section and enable additional options. Can you then post this log (from initial connection to then trying to view one file to trigger an error)? If you need to email us privately, you can do so at support@scootersoftware.com (and include a link back to this forum thread for our reference).
    Aaron P Scooter Software

    Comment


    • #3
      Yes this happens on file doubleclick/compare. The directory listing works normal, i can browse the remote tree normally.
      This is version 4.2.2 (build 22384) i see. Everything seems to be ticked under Log Panel section (operation summaries, op details, warnings, ftp trace, debug msgs).
      The odd thing about this server is that is uses a different port for sftp (1022) than ssh(22) and the public key for sftp is under pem format i think.

      this is from just before double click:

      7/21/2017 6:45:13 PM Connecting to ....com
      7/21/2017 6:45:13 PM Server key [RSA 2048 a9:8b:5e:7f:e8:17:f5:4b:b5:b5:b3:cc:d8:81:7b:a5]
      7/21/2017 6:45:15 PM Password authorization failed.
      7/21/2017 6:45:15 PM Public key authorization successful.
      7/21/2017 6:45:15 PM Server software: mod_sftp
      7/21/2017 6:45:15 PM Compression: none
      7/21/2017 6:45:15 PM Encryption: aes256-ctr
      7/21/2017 6:45:15 PM MAC algorithm: hmac-sha2-512
      7/21/2017 6:45:15 PM Connected to ....com port 1022
      7/21/2017 6:45:15 PM Using SFTP version 6.
      7/21/2017 6:45:15 PM Server information:
      7/21/2017 6:45:15 PM Extensions:
      7/21/2017 6:45:15 PM check-file
      7/21/2017 6:45:15 PM copy-file
      7/21/2017 6:45:15 PM space-available
      7/21/2017 6:45:15 PM vendor-id
      7/21/2017 6:45:15 PM SFTP versions supported: 2,3,4,5,6
      7/21/2017 6:45:15 PM Character set: utf8
      7/21/2017 6:45:16 PM Current Folder: /
      7/21/2017 6:45:16 PM Connection closed.
      7/21/2017 6:45:16 PM Connecting to ....com
      7/21/2017 6:45:16 PM Server key [RSA 2048 a9:8b:5e:7f:e8:17:f5:4b:b5:b5:b3:cc:d8:81:7b:a5]
      7/21/2017 6:45:18 PM Password authorization failed.
      7/21/2017 6:45:19 PM Public key authorization successful.
      7/21/2017 6:45:19 PM Server software: mod_sftp
      7/21/2017 6:45:19 PM Compression: none
      7/21/2017 6:45:19 PM Encryption: aes256-ctr
      7/21/2017 6:45:19 PM MAC algorithm: hmac-sha2-512
      7/21/2017 6:45:19 PM Connected to ....com port 1022
      7/21/2017 6:45:19 PM Using SFTP version 6.
      7/21/2017 6:45:19 PM Server information:
      7/21/2017 6:45:19 PM Extensions:
      7/21/2017 6:45:19 PM check-file
      7/21/2017 6:45:19 PM copy-file
      7/21/2017 6:45:19 PM space-available
      7/21/2017 6:45:19 PM vendor-id
      7/21/2017 6:45:19 PM SFTP versions supported: 2,3,4,5,6
      7/21/2017 6:45:19 PM Character set: utf8
      7/21/2017 6:45:19 PM Current Folder: /
      7/21/2017 6:45:19 PM Connection closed.
      7/21/2017 6:45:19 PM Unable to retrieve sftp://...@...com:1022/public/.htaccess: SFTP component not connected

      Comment


      • #4
        Would it be possible to get a test account to this server? You can email us at support@scootersoftware.com along with a link to this forum thread.

        Also, if you use Putty's Pageant to help handle the key instead of the BC4 Profile, does this help? You could also test Filezilla (which can also use Pageant) to see if it has different behavior. Pageant is a Key handler that can run in the background, then the Profile can have the Key and Password removed and will use Pageant instead.
        Aaron P Scooter Software

        Comment


        • #5
          Yes already tried Pageant, and Filezilla does work . Unfortunately I can't share login details as it's not my server. Hope I could help more.

          Comment


          • #6
            Hello,

            To confirm: you have configured Pageant, then delete the Password and Key from BC4 (or, better troubleshooting: delete the profile). Then restart BC4 and connect to the sever without entering any password or key information (which causes BC4 to use Pageant). What does this log look like (from connection up to and including a double click on a file)?
            Aaron P Scooter Software

            Comment

            Working...
            X