SFTP server login

Posted on 2010-08-17
Last Modified: 2013-12-19
I am setting up an SFTP account for new user to connect from externally (outside of our network) and drop the files. I was able to test it successfully without any issues.
But when I ask the user to test it they are getting the below error message

"Unable to establish SFTP connection after 3 tries; last error: Password not requested as expected: 0Failed to send file via Transport component"
Any ideas on the cause of this issue?

Since I tested it from my side using SFTP client (filezilla, psftp). I am assuming it is the problem from the user side.
Question by:adstorm88
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3

Accepted Solution

TravisT earned 150 total points
ID: 33455696
There are a few things to check here.  (1) Firewall ports, (2) NAT/PAT if you are using it, (3) DNS if ti is involved

1.  Are the firewall ports open so that external users can connect to the server?  These would require SSH and FTP to be open.  You can test my TELNETTing to port 22 and 21 to see if this works form an external machine.

2.  If you are using a private IP on the machine, do you correctly have NAT and prt forwarding configured?

3.  If you are using a FQDN versus IP address for the connection, have you confirmed that DNS is setup correctly?

The results from #1 can tell you if there machine is connecting or not with the telnet test.  If they fail, you may want to try yet another machine to confirm that is is not just their machine BUT all outside machines OR just their machine.

Author Comment

ID: 33455794
1) Firewall port 22 is open. but not 21
2) NAT and prt forwarding configured
3) DNS is configured correctly

Telnet for ort 22 is working from external machine

Expert Comment

ID: 33455849
If you like, you can send me some test credentials and I can try from my end?  If you like, I can send you an email address (or there might be one in my profile).

Other than what we discussed thus far, the only other problem could be the SFTP server config.  What do the logs tell you on the SFTP server?  Is it logging a connection failure?

In addition, then client needs to use a decent SFTP client (Putty will work) to make sure they are accpeting the certificate and what not as well.
Save the day with this special offer from ATEN!

Save 30% on the CV211 using promo code EXPERTS30 now through April 30th. The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.


Author Comment

ID: 33456028
I am sorry I cannot provide you the details to test it.
I will check back with user on the client software they are using
and where can I check sftp logs /var/adm?
I have a question
Only port 22 is open is that fine.. do we need to have two ports open port 22 and port 21?

Assisted Solution

TravisT earned 150 total points
ID: 33456052
Sorry, no just port 22 is fine.

It will depend on how you set it up.  generally, yes, the SFTO logs are there, but you will need to check your .conf file to be sure.

Expert Comment

ID: 33478242
How's it going on this one?

Author Comment

ID: 33488873
I am still waiting for response.. will update you once I got it

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question