Client Can't log into SFTP server

Need help with FileZilla Server? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Post Reply
Message
Author
S.Paananen
500 Command not understood
Posts: 1
Joined: 2020-09-23 14:26
First name: Scott
Last name: Paananen

Client Can't log into SFTP server

#1 Post by S.Paananen » 2020-09-23 14:35

Hello Everyone,
Sorry if this has already been answered, but I am trying to setup a SFTP using Filezilla server.
I have created Private and public Keys using puttyGen. I have created a user, and assigned him a home folder.

While testing, i am unable to get in. Using the Filezilla Client, i have told it to login over SFTP and use a key file.
Looking at the logs on the server i see this....

(000006)9/22/2020 10:51:33 AM - (not logged in) (xxx.xx.xx.xxx)> Connected on port 52**2, sending welcome message...
(000006)9/22/2020 10:51:33 AM - (not logged in) (xxx.xx.xx.xxx)> 220 Welcome to the SFTP
(000006)9/22/2020 10:52:34 AM - (not logged in) (xxx.xx.xx.xxx)> 421 Login time exceeded. Closing control connection.
(000006)9/22/2020 10:52:34 AM - (not logged in) (xxx.xx.xx.xxx)> disconnected.

On the server side i see:
Connecting to XXX.XXX.XXX.XXX:52**2....
fzSftp started protocol_version=9
command: keyFile"<file location>"
command: open "<username>@XXX.XXX.XXX.XXX" 52**2

it sits there for a bit, then after about a minute :

Fatal Error: Server unexpectibly closed the network connection.


So why can't I connect? looking at the server logs, i can see the client make it's first connection, but that's it. As you can see, i don't get the welcome message on the client.

Did i setup the SFTP server right?

Please help

User avatar
boco
Contributor
Posts: 26933
Joined: 2006-05-01 03:28
Location: Germany

Re: Client Can't log into SFTP server

#2 Post by boco » 2020-09-23 18:45

Your problem is a general misunderstanding.

1. FileZilla Server does NOT support SFTP (SFTP is the one based on the SSH2 protocol).
2. FileZilla Server does support FTPS (FTP over TLS).

So, if you want an SFTP server, you cannot use FileZilla Server, but need a different one such as OpenSSH.
For an FTPS server, FileZilla Server is applicable, but you need to select FTPS (Explicit recommended) in the client.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

Post Reply