Solved

SFTP server login

Posted on 2010-08-17
7
1,031 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Don’t let your business fall victim to the coming apocalypse – use our Survival Guide for the Fax Apocalypse to identify the risks and signs of zombie fax activities at your business.
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.
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…
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.

776 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