Connect to a SFTP-server using FileZilla
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!
Related videos on Youtube
magnusnn
Updated on September 18, 2022Comments
-
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
I'm trying to connect to a server by using
sftp://WhateverLinkToServer.com
and the port is22015
, 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 almost 9 yearsJust wondering.. you have installed openssh server and allowed logins ? (sudo apt-get install openssh-server)
-
magnusnn almost 9 yearsYes, openssh server is already installed.
-
Aravinda almost 9 yearsjust 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 almost 9 yearsI 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 about 8 yearsI 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 almost 9 yearsWell 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 almost 9 yearsBest 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 almost 9 yearsI'll try to come in touch with him.
-
magnusnn almost 9 yearsAlright, thanks for your answer tho, I'll contact him asap.
-
Aravinda almost 9 yearsI so your last edit now.. can you telnet 22015 ? tellnet whateverLinkToServer.com 22015
-
magnusnn almost 9 years@Aravinda Yes, telnet works.
-
Aravinda almost 9 yearsMay be something to do with active / passive ftp in filezilla settings.. not sure though.. wiki.filezilla-project.org/Network_Configuration#Passive_mode_2
-
arjan about 8 yearsThanks, 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).