User authentication types 1-4

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

Moderator: Project members

Locked
Message
Author
jcarroll
500 Command not understood
Posts: 1
Joined: 2023-02-17 21:26
First name: James
Last name: Carroll

User authentication types 1-4

#1 Post by jcarroll » 2023-02-17 21:39

I am troubleshooting a ticket with an authentication issue. What are the SSH User Authentication types? (1-4)

Right now we are seeing the SSH User authentication from one source is coming in as a type 4 and failing but another source is coming in as a type 1 and authenticating.

SSH User Authentication [type=4, user= name. service=ssh-connection]
User authentication attempt failed[user= name] [next_types=0x1] [error=4]
session::ssh_accept
SSH User Authentication [type=1, user= name, service=ssh-connection]


Is the client attempting with a different method?

User avatar
oibaf
Contributor
Posts: 404
Joined: 2021-07-16 21:02
First name: Fabio
Last name: Alemagna

Re: User authentication types 1-4

#2 Post by oibaf » 2023-02-19 12:19

Please, redirect your questions about FileZilla Professional Enterprise Server to the correct customer forum: https://customerforum.filezilla-project ... um.php?f=4

coxswain
500 Command not understood
Posts: 1
Joined: 2023-07-06 09:27
First name: Žarko
Last name: Ristić

Re: User authentication types 1-4

#3 Post by coxswain » 2023-07-06 09:42

I am investigating a similar occurrence, i.e. FileZilla server log contains the following entries:

2023-06-30T00:28:36.107Z >> [SSH SFTP Session 1856825 <IP>] SSH User Authentication [type=4, user=USERNAME, service=ssh-connection]
2023-06-30T00:28:40.488Z >> [SSH SFTP Session 1856825 <IP>] SSH User Authentication [type=4, user=USERNAME, service=ssh-connection]
2023-06-30T00:28:40.488Z !! [SSH SFTP Session 1856825 <IP>] User authentication attempt failed [user=USERNAME] [next_types=0x3] [error=4]
2023-06-30T00:28:40.488Z >> [SSH SFTP Session 1856825 <IP>] SSH User Authentication [type=1, user=USERNAME, service=ssh-connection]
2023-06-30T00:28:40.551Z >> [SSH SFTP Session 1856825 <IP>] SSH User Authentication [type=1, user=USERNAME, service=ssh-connection]
2023-06-30T00:28:40.551Z == [SSH SFTP Session 1856825 <IP> USERNAME] User authenticated successfully [user=USERNAME]
2023-06-30T00:28:40.598Z >> [SSH SFTP Session 1856825 <IP> USERNAME] Opening directory '/DIR'
2023-06-30T00:28:40.848Z == [SSH SFTP Session 1856825 <IP> USERNAME] Closing connection [ code=106 ]
2023-06-30T00:28:40.848Z !! [SSH SFTP Server] Session 1856825 ended with error. Reason: ECONNABORTED - Connection aborted.

This behavior repeats for all users coming from the same <IP> address. A user authenticating from a different IP address authenticates immediately with type=1:

2023-06-30T00:28:55.784Z >> [SSH SFTP Session 1856830 <different IP>] SSH User Authentication [type=1, user=USERNAME2, service=ssh-connection]
2023-06-30T00:28:55.847Z >> [SSH SFTP Session 1856830 <different IP>] SSH User Authentication [type=1, user=USERNAME2, service=ssh-connection]
2023-06-30T00:28:55.847Z == [SSH SFTP Session 1856830 <different IP> USERNAME2] User authenticated successfully [user=USERNAME2]
2023-06-30T00:28:55.862Z >> [SSH SFTP Session 1856830 <different IP> USERNAME2] Opening directory '/DIR2'
2023-06-30T00:28:55.909Z == [SSH SFTP Session 1856830 <different IP> USERNAME2] Closing connection [ code=0 ]
2023-06-30T00:28:55.909Z == [SSH SFTP Server] Session 1856830 ended gracefully.

What is the meaning of 'type' in this context and does it have anything to do with the error causing the connection abort? Thanks.

User avatar
botg
Site Admin
Posts: 35566
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: User authentication types 1-4

#4 Post by botg » 2023-07-06 12:00

Please head to the dedicated customer support forums for assistance with FileZilla Pro Enterprise Server: https://customerforum.filezilla-project.org/

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

Re: User authentication types 1-4

#5 Post by boco » 2023-10-09 15:12

@jcarrol: Your topic can't be moved, as you are in the completely wrong place. You need to head over to the official customer forums, as you are using FileZilla Pro Enterprise Server, which is not supported here (in the free forums).
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

Locked