Solved

SFTP server login

Posted on 2010-08-17
7
1,024 Views
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.
 
0
Comment
Question by:adstorm88
  • 4
  • 3
7 Comments
 
LVL 2

Accepted Solution

by:
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.
0
 
LVL 1

Author Comment

by:adstorm88
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
0
 
LVL 2

Expert Comment

by:TravisT
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.
0
Do email signature updates give you a headache?

Do you feel like you are constantly making changes to email signatures? Are the images not formatting how you want them to? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today.

 
LVL 1

Author Comment

by:adstorm88
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?
0
 
LVL 2

Assisted Solution

by:TravisT
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.
0
 
LVL 2

Expert Comment

by:TravisT
ID: 33478242
How's it going on this one?
0
 
LVL 1

Author Comment

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

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
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…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

743 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now