Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1081
  • Last Modified:

SFTP server login

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
adstorm88
Asked:
adstorm88
  • 4
  • 3
2 Solutions
 
TravisTCommented:
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
 
adstorm88Author Commented:
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
 
TravisTCommented:
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
Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

 
adstorm88Author Commented:
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
 
TravisTCommented:
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
 
TravisTCommented:
How's it going on this one?
0
 
adstorm88Author Commented:
I am still waiting for response.. will update you once I got it
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now