The issue persists with ProFTPd 1.3.6 (stable) as well:
Code: Select all
# proftpd -V
Compile-time Settings:
Version: 1.3.6 (stable)
Platform: LINUX [Linux 3.10.0-957.12.2.el7.x86_64 x86_64]
Built: Mon Dec 17 2018 05:11:12 +07
Built With:
configure '--prefix=/usr' '--sysconfdir=/etc' '--localstatedir=/var/run' '--mandir=/usr/share/man' '--without-pam' '--disable-auth-pam' '--enable-dso' '--with-modules=mod_ratio:mod_readme:mod_sftp'
CFLAGS: -g2 -O2 -Wall -fno-omit-frame-pointer
LDFLAGS: -L$(top_srcdir)/lib -rdynamic
LIBS: -lssl -lcrypto -lcap -lcrypto -lsupp -lcrypt -ldl
Kindly see:
Code: Select all
Status: Disconnected from server
Trace: CControlSocket::DoClose(66)
Trace: CControlSocket::DoClose(66)
Trace: CControlSocket::DoClose(66)
Trace: CFileZillaEnginePrivate::ResetOperation(0)
Status: Connecting to sftp.example.net:2121...
Trace: CControlSocket::SendNextCommand()
Trace: CSftpDeleteOpData::Send() in state 0
Trace: Going to execute C:\Program Files\FileZilla FTP Client\fzsftp.exe
Response: fzSftp started, protocol_version=8
Trace: CSftpDeleteOpData::ParseResponse() in state 0
Trace: CControlSocket::SendNextCommand()
Trace: CSftpDeleteOpData::Send() in state 3
Command: open "user@sftp.example.net" 2121
Trace: Connecting to 2.3.4.5 port 2121
Trace: We claim version: SSH-2.0-FileZilla_3.42.1
Trace: Server version: SSH-2.0-mod_sftp
Trace: Using SSH protocol version 2
Trace: Doing ECDH key exchange with curve nistp256 and hash SHA-256
Trace: Server also has ssh-dss host key, but we don't know it
Trace: Host key fingerprint is:
Trace: ssh-rsa 2048 3f:79:55:37:7a:8f:6b:e2:42:1a:f6:09:6d:5c:14:25 B/+VpgKRoRk6Kt/q7nQLlNDC5ZgFbrqQQMdtWdg5O1M=
Command: Trust new Hostkey: Once
Trace: Initialised AES-256 SDCTR client->server encryption
Trace: Initialised HMAC-SHA-256 client->server MAC algorithm
Trace: Initialised AES-256 SDCTR server->client encryption
Trace: Initialised HMAC-SHA-256 server->client MAC algorithm
Trace: Reading key file "C:\Users\user\4096rsa.ppk"
Trace: Offered public key
Trace: Offer of public key accepted
Command: Pass: **********
Trace: Sent public key signature
Trace: Server refused public-key signature despite accepting key!
Command: Pass: **********
Trace: Sent password
Trace: Received disconnect message (by application)
Trace: Disconnection message text: Application error
Trace: Server sent disconnect message
Trace: type 11 (by application):
Trace: "Application error"
Error: Server sent disconnect message
Error: type 11 (by application):
Error: "Application error"
Trace: CSftpControlSocket::OnTerminate without error
Trace: CControlSocket::DoClose(66)
Trace: CControlSocket::ResetOperation(66)
Trace: CSftpDeleteOpData::Reset(66) in state 3
Error: Could not connect to server
Trace: CFileZillaEnginePrivate::ResetOperation(66)
Status: Waiting to retry...
Trace: CControlSocket::DoClose(66)
Trace: CControlSocket::DoClose(66)
Status: Connecting to sftp.example.net:2121...
Trace: CControlSocket::SendNextCommand()
Trace: CSftpDeleteOpData::Send() in state 0
Trace: Going to execute C:\Program Files\FileZilla FTP Client\fzsftp.exe
Response: fzSftp started, protocol_version=8
Trace: CSftpDeleteOpData::ParseResponse() in state 0
Trace: CControlSocket::SendNextCommand()
Trace: CSftpDeleteOpData::Send() in state 3
Command: open "user@sftp.example.net" 2121
Trace: Connecting to 2.3.4.5 port 2121
Trace: We claim version: SSH-2.0-FileZilla_3.42.1
Trace: Server version: SSH-2.0-mod_sftp
Trace: Using SSH protocol version 2
Trace: Doing ECDH key exchange with curve nistp256 and hash SHA-256
Trace: Server also has ssh-dss host key, but we don't know it
Trace: Host key fingerprint is:
Trace: ssh-rsa 2048 3f:79:55:37:7a:8f:6b:e2:42:1a:f6:09:6d:5c:14:25 B/+VpgKRoRk6Kt/q7nQLlNDC5ZgFbrqQQMdtWdg5O1M=
Command: Trust new Hostkey: Once
Trace: Initialised AES-256 SDCTR client->server encryption
Trace: Initialised HMAC-SHA-256 client->server MAC algorithm
Trace: Initialised AES-256 SDCTR server->client encryption
Trace: Initialised HMAC-SHA-256 server->client MAC algorithm
Trace: Reading key file "C:\Users\4096rsa.ppk"
Trace: Offered public key
Trace: Offer of public key accepted
Command: Pass: **********
Trace: Sent public key signature
Trace: Server refused public-key signature despite accepting key!
Command: Pass: **********
Trace: Sent password
Trace: Received disconnect message (by application)
Trace: Disconnection message text: Application error
Trace: Server sent disconnect message
Trace: type 11 (by application):
Trace: "Application error"
Error: Server sent disconnect message
Error: type 11 (by application):
Error: "Application error"
Trace: CSftpControlSocket::OnTerminate without error
Trace: CControlSocket::DoClose(66)
Trace: CControlSocket::ResetOperation(66)
Trace: CSftpDeleteOpData::Reset(66) in state 3
Error: Could not connect to server
Trace: CFileZillaEnginePrivate::ResetOperation(66)
ProFTPd with SFTPAuthMethods set to publickey password:
Code: Select all
2019-05-23 16:47:59,427 mod_sftp/1.0.0[7047]: error using DisplayLogin 'welcome.msg': No such file or directory
2019-05-23 16:47:59,429 mod_sftp/1.0.0[7047]: sent server version 'SSH-2.0-mod_sftp'
2019-05-23 16:47:59,429 mod_sftp/1.0.0[7047]: received client version 'SSH-2.0-FileZilla_3.42.1'
2019-05-23 16:47:59,429 mod_sftp/1.0.0[7047]: handling connection from SSH2 client 'FileZilla_3.42.1'
2019-05-23 16:47:59,519 mod_sftp/1.0.0[7047]: + Session key exchange: ecdh-sha2-nistp256
2019-05-23 16:47:59,519 mod_sftp/1.0.0[7047]: + Session server hostkey: ssh-rsa
2019-05-23 16:47:59,519 mod_sftp/1.0.0[7047]: + Session client-to-server encryption: aes256-ctr
2019-05-23 16:47:59,519 mod_sftp/1.0.0[7047]: + Session server-to-client encryption: aes256-ctr
2019-05-23 16:47:59,519 mod_sftp/1.0.0[7047]: + Session client-to-server MAC: hmac-sha2-256
2019-05-23 16:47:59,519 mod_sftp/1.0.0[7047]: + Session server-to-client MAC: hmac-sha2-256
2019-05-23 16:47:59,519 mod_sftp/1.0.0[7047]: + Session client-to-server compression: none
2019-05-23 16:47:59,520 mod_sftp/1.0.0[7047]: + Session server-to-client compression: none
2019-05-23 16:47:59,740 mod_sftp/1.0.0[7047]: sending acceptable userauth methods: publickey,password
2019-05-23 16:47:59,828 mod_sftp/1.0.0[7047]: public key SHA256 fingerprint: 17:f0:e3:3f:ff:7b:d8:31:8d:65:36:d3:4e:bb:5a:c0:7b:76:4a:4f:b7:0b:53:8c:70:cc:45:c5:84:fb:e5:5b
2019-05-23 16:47:59,844 mod_sftp/1.0.0[7047]: sending publickey OK
2019-05-23 16:47:59,990 mod_sftp/1.0.0[7047]: public key SHA256 fingerprint: 17:f0:e3:3f:ff:7b:d8:31:8d:65:36:d3:4e:bb:5a:c0:7b:76:4a:4f:b7:0b:53:8c:70:cc:45:c5:84:fb:e5:5b
2019-05-23 16:48:00,011 mod_sftp/1.0.0[7047]: sending userauth failure; remaining userauth methods: publickey,password
2019-05-23 16:48:00,131 mod_sftp/1.0.0[7047]: password authentication for user 'user' failed: Incorrect password
2019-05-23 16:48:00,132 mod_sftp/1.0.0[7047]: sending userauth failure; remaining userauth methods: publickey,password
2019-05-23 16:48:00,132 mod_sftp/1.0.0[7047]: client sent SSH_MSG_IGNORE message (160 bytes)
2019-05-23 16:48:00,219 mod_sftp/1.0.0[7047]: client at 37.xxx.xx.215 sent SSH_DISCONNECT message: Unable to authenticate (Authentication cancelled by user)
ProFTPd with SFTPAuthMethods set password only:
Code: Select all
2019-05-23 16:50:07,337 mod_sftp/1.0.0[8846]: error using DisplayLogin 'welcome.msg': No such file or directory
2019-05-23 16:50:07,338 mod_sftp/1.0.0[8846]: sent server version 'SSH-2.0-mod_sftp'
2019-05-23 16:50:07,338 mod_sftp/1.0.0[8846]: received client version 'SSH-2.0-FileZilla_3.42.1'
2019-05-23 16:50:07,338 mod_sftp/1.0.0[8846]: handling connection from SSH2 client 'FileZilla_3.42.1'
2019-05-23 16:50:07,428 mod_sftp/1.0.0[8846]: + Session key exchange: ecdh-sha2-nistp256
2019-05-23 16:50:07,428 mod_sftp/1.0.0[8846]: + Session server hostkey: ssh-rsa
2019-05-23 16:50:07,428 mod_sftp/1.0.0[8846]: + Session client-to-server encryption: aes256-ctr
2019-05-23 16:50:07,428 mod_sftp/1.0.0[8846]: + Session server-to-client encryption: aes256-ctr
2019-05-23 16:50:07,428 mod_sftp/1.0.0[8846]: + Session client-to-server MAC: hmac-sha2-256
2019-05-23 16:50:07,428 mod_sftp/1.0.0[8846]: + Session server-to-client MAC: hmac-sha2-256
2019-05-23 16:50:07,428 mod_sftp/1.0.0[8846]: + Session client-to-server compression: none
2019-05-23 16:50:07,428 mod_sftp/1.0.0[8846]: + Session server-to-client compression: none
2019-05-23 16:50:07,647 mod_sftp/1.0.0[8846]: sending acceptable userauth methods: password
2019-05-23 16:50:07,775 mod_sftp/1.0.0[8846]: no supplemental groups found for user 'user'
2019-05-23 16:50:07,783 mod_sftp/1.0.0[8846]: sending userauth success
2019-05-23 16:50:07,783 mod_sftp/1.0.0[8846]: user 'user' authenticated via 'password' method
2019-05-23 16:50:07,783 mod_sftp/1.0.0[8846]: client sent SSH_MSG_IGNORE message (144 bytes)
2019-05-23 16:50:07,962 mod_sftp/1.0.0[8846]: unsupported 'simple@putty.projects.tartarus.org' channel requested, ignoring
2019-05-23 16:50:07,963 mod_sftp/1.0.0[8846]: 'subsystem' channel request for 'sftp' subsystem
2019-05-23 16:50:08,051 mod_sftp/1.0.0[8846]: using SFTP protocol version 3 for this session (channel ID 0)
And again whenever a password is requested by FileZilla for decoding my public key if to click cancel it does not try password authentication too.