Discussion:
[Proftpd-user] Using public key
TJ Saunders
2016-12-19 20:02:38 UTC
Permalink
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
Thanks! Interestingly, this shows an issue with the password; the
server doesn't like it for some reason. I was hoping that the server
logging would show the reason. Are you using debug level 10 (-d10
command-line option, or "DebugLevel 10" in your config file)?

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 <proftpd-***@proftpd.org>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html
TJ Saunders
2016-12-19 21:40:58 UTC
Permalink
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)
Suggestions?
In working with the OP off-list, he discovered that the SSH private key
had been renamed on the client side, causing the publickey
authentication to fail unexpectedly. Using verbose client logging (e.g.
`sftp -vvv ...`) revealed the issue. Once that was corrected, publickey
authentication using proftpd+mod_sftp worked as expected.

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 <proftpd-***@proftpd.org>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html

Continue reading on narkive:
Loading...