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.
WordPress Tutorial 4: Recommended Plugins

Now that you have WordPress installed, understand the interface, and know how to install new parts, let’s take a look at our recommended plugins.


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

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

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

When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
This article explains the fundamentals of industrial networking which ultimately is the backbone network which is providing communications for process devices like robots and other not so interesting stuff.
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor ( Top Charts is a view in which you can set seve…
Suggested Courses

628 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