Search

GlobalSCAPE Knowledge Base

SFTP21 error = #0. 0

Karla Marsh
CuteFTP

THE INFORMATION IN THIS ARTICLE APPLIES TO:

  • CuteFTP Pro® 8.3.3 or later

SYMPTOM

When attempting a connection using the SFTP protocol, an error similar to the following occurs:

STATUS:>         [8/10/2010 4:06:28 PM] Getting listing ""...

STATUS:>         [8/10/2010 4:06:28 PM] Resolving host name sftp.examplehost.com...

STATUS:>         [8/10/2010 4:06:28 PM] Host name sftp.examplehost.com resolved: ip = 127.9.9.91.

STATUS:>         [8/10/2010 4:06:28 PM] Connecting to SFTP server... sftp.examplehost.com:22 (ip = 127.9.9.91)...

ERROR:>           [8/10/2010 4:06:30 PM] Can't connect to sftp.xxxxx.com:22. SFTP21 error = #0. 0

STATUS:>         [8/10/2010 4:06:30 PM] SFTP21 connection closed

RESOLUTION

  1. Double-check the username and password. If in doubt, contact the SFTP Server administrator or the company that is hosting the SFTP server so that the username/password on your account can be reset. (GlobalSCAPE Support does not have this information.)

  2. If you have previously configured CuteFTP Pro to use more than one public key, ensure that the correct public key for this site is selected in the CuteFTP Pro SSH2 security settings area.

  3. If the remote FTP site is expecting a password in addition to a public key, ensure that option is enabled in the CuteFTP Pro SSH2 security settings area.

  4. Ensure that the user account on the remote FTP server is configured with List and Show in List permissions.

MORE INFORMATION/POSSIBLE CAUSES

This error can be caused by any of the following:

  1. The SFTP Server may be rejecting the username/password combination that is being submitted to it.
  2. CuteFTP Pro may be providing the server with the wrong public key.
  3. The remote FTP site may be expecting a password in addition to the public key.
  4. The user may not have sufficient account privileges on the remote server.
  5. CuteFTP Pro’s newer SSH library (implemented in 8.3.3) may not be compatible with the SFTP server. Contact the Server Administrator to find out which software/version the SFTP server is running, then contact GlobalSCAPE Technical Support with this information.
Details
Last Modified: 7 Years Ago
Last Modified By: GlobalSCAPE 5
Type: ERRMSG
Rated 1 star based on 33 votes.
Article has been viewed 42K times.
Options
Also In This Category
Tags