Re: [Proftpd-user] Using public key

Geoffrey Myers <[email protected]>
Newsgroups gmane.network.proftpd.user
Message-ID <CALJ0eQxxRdM4S+1a5c98MOX6sZffq=dOBSRdUwtSoLcu=6nKCQ@mail.gmail.com>
SFTPLog:

2016-12-19 14:34:10,770 mod_sftp/0.9.9[10379]: sent server version
'SSH-2.0-mod_sftp/0.9.9'
2016-12-19 14:34:10,770 mod_sftp/0.9.9[10379]: received client version
'SSH-2.0-OpenSSH_4.3'
2016-12-19 14:34:10,770 mod_sftp/0.9.9[10379]: handling connection from
SSH2 client 'OpenSSH_4.3'
2016-12-19 14:34:10,771 mod_sftp/0.9.9[10379]:  + Session key exchange:
diffie-hellman-group-exchange-sha1
2016-12-19 14:34:10,771 mod_sftp/0.9.9[10379]:  + Session server hostkey:
ssh-rsa
2016-12-19 14:34:10,771 mod_sftp/0.9.9[10379]:  + Session client-to-server
encryption: aes128-ctr
2016-12-19 14:34:10,771 mod_sftp/0.9.9[10379]:  + Session server-to-client
encryption: aes128-ctr
2016-12-19 14:34:10,771 mod_sftp/0.9.9[10379]:  + Session client-to-server
MAC: hmac-md5
2016-12-19 14:34:10,771 mod_sftp/0.9.9[10379]:  + Session server-to-client
MAC: hmac-md5
2016-12-19 14:34:10,771 mod_sftp/0.9.9[10379]:  + Session client-to-server
compression: none
2016-12-19 14:34:10,771 mod_sftp/0.9.9[10379]:  + Session server-to-client
compression: none
2016-12-19 14:34:10,822 mod_sftp/0.9.9[10379]: sending acceptable userauth
methods: publickey,password
2016-12-19 14:34:10,823 mod_sftp/0.9.9[10379]: public key MD5 fingerprint:
00:0f:ff:ff:00:0f:00:00:f0:00:ff:00:0f:f0:00:f0
2016-12-19 14:34:10,823 mod_sftp/0.9.9[10379]: sending publickey OK
2016-12-19 14:34:10,827 mod_sftp/0.9.9[10379]: disconnecting client
(received EOF)

ServerLog:

2016-12-19 14:34:10,769  connected - local  :   ..........
2016-12-19 14:34:10,769  connected - remote : ..........
2016-12-19 14:34:10,769  SSH2 session opened.
2016-12-19 14:34:10,771  dispatching LOG_CMD command 'KEXINIT' to mod_sql
2016-12-19 14:34:10,771  dispatching LOG_CMD command 'KEXINIT' to mod_log
2016-12-19 14:34:10,771  dispatching LOG_CMD command 'DH_GEX_REQUEST' to
mod_sql
2016-12-19 14:34:10,771  dispatching LOG_CMD command 'DH_GEX_REQUEST' to
mod_log
2016-12-19 14:34:10,772  dispatching LOG_CMD command 'DH_GEX_INIT' to
mod_sql
2016-12-19 14:34:10,772  dispatching LOG_CMD command 'DH_GEX_INIT' to
mod_log
2016-12-19 14:34:10,782  dispatching LOG_CMD command 'NEWKEYS' to mod_sql
2016-12-19 14:34:10,782  dispatching LOG_CMD command 'NEWKEYS' to mod_log
2016-12-19 14:34:10,821  dispatching LOG_CMD command 'SERVICE_REQUEST' to
mod_sql
2016-12-19 14:34:10,821  dispatching LOG_CMD command 'SERVICE_REQUEST' to
mod_log
2016-12-19 14:34:10,821  dispatching PRE_CMD command 'USER ftptest' to
mod_tls
2016-12-19 14:34:10,821  dispatching PRE_CMD command 'USER ftptest' to
mod_core
2016-12-19 14:34:10,821  dispatching PRE_CMD command 'USER ftptest' to
mod_core
2016-12-19 14:34:10,821  dispatching PRE_CMD command 'USER ftptest' to
mod_delay
2016-12-19 14:34:10,821  dispatching PRE_CMD command 'USER ftptest' to
mod_auth
2016-12-19 14:34:10,822  dispatching POST_CMD command 'USER ftptest' to
mod_sql
2016-12-19 14:34:10,822  dispatching POST_CMD command 'USER ftptest' to
mod_delay
2016-12-19 14:34:10,822  dispatching LOG_CMD command 'USER ftptest' to
mod_sql
2016-12-19 14:34:10,822  dispatching LOG_CMD command 'USER ftptest' to
mod_log
2016-12-19 14:34:10,822  dispatching POST_CMD command 'USERAUTH_REQUEST' to
mod_sql
2016-12-19 14:34:10,822  dispatching LOG_CMD command 'USERAUTH_REQUEST' to
mod_sql
2016-12-19 14:34:10,822  dispatching LOG_CMD command 'USERAUTH_REQUEST' to
mod_log
2016-12-19 14:34:10,822  dispatching PRE_CMD command 'USER ftptest' to
mod_tls
2016-12-19 14:34:10,822  dispatching PRE_CMD command 'USER ftptest' to
mod_core
2016-12-19 14:34:10,822  dispatching PRE_CMD command 'USER ftptest' to
mod_core
2016-12-19 14:34:10,822  dispatching PRE_CMD command 'USER ftptest' to
mod_delay
2016-12-19 14:34:10,822  dispatching PRE_CMD command 'USER ftptest' to
mod_auth
2016-12-19 14:34:10,822  dispatching POST_CMD command 'USER ftptest' to
mod_sql
2016-12-19 14:34:10,822  dispatching POST_CMD command 'USER ftptest' to
mod_delay
2016-12-19 14:34:10,823  dispatching LOG_CMD command 'USER ftptest' to
mod_sql
2016-12-19 14:34:10,823  dispatching LOG_CMD command 'USER ftptest' to
mod_log
2016-12-19 14:34:10,823  dispatching PRE_CMD command 'PASS (hidden)' to
mod_tls
2016-12-19 14:34:10,823  dispatching PRE_CMD command 'PASS (hidden)' to
mod_core
2016-12-19 14:34:10,823  dispatching PRE_CMD command 'PASS (hidden)' to
mod_core
2016-12-19 14:34:10,823  dispatching PRE_CMD command 'PASS (hidden)' to
mod_sql
2016-12-19 14:34:10,823  dispatching PRE_CMD command 'PASS (hidden)' to
mod_delay
2016-12-19 14:34:10,823  dispatching PRE_CMD command 'PASS (hidden)' to
mod_auth
2016-12-19 14:34:10,823  ROOT PRIVS at mod_auth_file.c:844
2016-12-19 14:34:10,823  RELINQUISH PRIVS at mod_auth_file.c:847
2016-12-19 14:34:10,823  mod_auth_file/1.0: using passwd file
'/...../ftppasswd'
2016-12-19 14:34:10,823  retrieved UID 5341 for user 'ftptest'
2016-12-19 14:34:10,824  dispatching POST_CMD_ERR command 'PASS (hidden)'
to mod_sql
2016-12-19 14:34:10,824  dispatching POST_CMD_ERR command 'PASS (hidden)'
to mod_delay
2016-12-19 14:34:10,827  dispatching LOG_CMD_ERR command 'PASS (hidden)' to
mod_sql
2016-12-19 14:34:10,827  dispatching LOG_CMD_ERR command 'PASS (hidden)' to
mod_log
2016-12-19 14:34:10,827  dispatching LOG_CMD_ERR command 'PASS (hidden)' to
mod_auth
2016-12-19 14:34:10,827  dispatching POST_CMD command 'USERAUTH_REQUEST' to
mod_sql
2016-12-19 14:34:10,827  dispatching LOG_CMD command 'USERAUTH_REQUEST' to
mod_sql
2016-12-19 14:34:10,827  dispatching LOG_CMD command 'USERAUTH_REQUEST' to
mod_log
2016-12-19 14:34:10,827  mod_sftp/0.9.9: scrubbing 4 passphrases from memory
2016-12-19 14:34:10,827  SSH2 session closed.


On Mon, Dec 19, 2016 at 12:11 PM, TJ Saunders <[email protected]> wrote:

>
> On Mon, Dec 19, 2016, at 08:46, Geoffrey Myers wrote:
> > I have configured proftpd to accept public key auth.  But, when
> > attempting to log in using an account that is configured for such auth.
> > I'm getting : permission denied (publickey,password)
>
> What does proftpd debug logging, debug level 10, show when you attempt
> to login?  What does an SFTPLog file show?
>
> Cheers,
> TJ
>

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/intel

_______________________________________________
ProFTPD Users List   <[email protected]>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.