Connect to a SFTP-server using FileZilla

14,779

Well, this is embarrassing... The whole time I was using an older version of FileZilla (3.7.3) installed via apt-get and could not get this one to work. After downloading the newest version (3.10.3) it worked like a charm. Thanks for your help tho!

Share:
14,779

Related videos on Youtube

magnusnn
Author by

magnusnn

Updated on September 18, 2022

Comments

  • magnusnn
    magnusnn over 1 year


    I have an issue when I'm trying to connect to a SFTP-server using FileZilla. I'm sure that the server is up and running, but I just get:

    Error: Server unexpectedly closed network connection 
    Error: Could not connect to server 
    

    enter image description here

    I'm trying to connect to a server by using sftp://WhateverLinkToServer.com and the port is 22015, tried to open the port in the firewall with no luck. I'm positive that the username and password is correct.

    Is there any method to debug this, a log-file or something to show if I'm missing anything, or do you have any other suggestions of how to solve my problem?

    Update: I was able to connect via the terminal directly to the SFTP-server. Any suggestion on what the problem is with my FileZilla? Is there something wrong with my key fingerprint?


    Cheers,
    Magnus

    • Aravinda
      Aravinda almost 9 years
      Just wondering.. you have installed openssh server and allowed logins ? (sudo apt-get install openssh-server)
    • magnusnn
      magnusnn almost 9 years
      Yes, openssh server is already installed.
    • Aravinda
      Aravinda almost 9 years
      just check your port is opened for outer world. pentest-tools.com/discovery-probing/… if it is not showing, it should be a firewall or portforwarding issue if it is behind a nat gateway...
    • magnusnn
      magnusnn almost 9 years
      I doubt it because the person next to me (a mac user and on the same network) was able to connect with no problem, but I'll give it a try on another network where I know the port should not be a problem
    • arjan
      arjan about 8 years
      I think there is a real issue here, something which occurs with (certain versions of) Filezilla and particular server config or software versions, i.e. it's not a problem with firewalls, port forwarding etc.. I can consistently reproduce it With Debian8+mysecureshell and Filezilla 3.7.3-1ubuntu1 (the version in the 14.04 repositories).
  • magnusnn
    magnusnn almost 9 years
    Well I'm on a school network and can't check if the port forward-settings on the router, but the person next to me (a mac-user) was able to connect to the same server using FileZilla. Here is a screenshot of FileZilla: Screenshot
  • Aravinda
    Aravinda almost 9 years
    Best thing is to contact sftp server administrator.. Otherwise it would be a wastage of time.. Who knows what type of rules applied server level and what is the network infracture etc..
  • magnusnn
    magnusnn almost 9 years
    I'll try to come in touch with him.
  • magnusnn
    magnusnn almost 9 years
    Alright, thanks for your answer tho, I'll contact him asap.
  • Aravinda
    Aravinda almost 9 years
    I so your last edit now.. can you telnet 22015 ? tellnet whateverLinkToServer.com 22015
  • magnusnn
    magnusnn almost 9 years
    @Aravinda Yes, telnet works.
  • Aravinda
    Aravinda almost 9 years
    May be something to do with active / passive ftp in filezilla settings.. not sure though.. wiki.filezilla-project.org/Network_Configuration#Passive_mod‌​e_2
  • arjan
    arjan about 8 years
    Thanks, this worked for me too. But I only had this problem with a Debian 8 server, the old Filezilla 3.7.3-1ubuntu1 version worked fine with e.g. Debian 7 (and serverside mysecureshell in both cases).