Page 1 of 1

SSH pub key authentication failed

Posted: Thu Mar 17, 2011 3:49 pm
by ctech
I created priv and pub key using puttygen. Configured on user acct and tried using with filezilla/putty/winscp with no luck. It fails pub key authentication. I triend renaming pub key to .key and still no luck. Any ideas?

Re: SSH pub key authentication failed

Posted: Thu Mar 17, 2011 4:17 pm
by FTP
Please check out this KB article: http://www.wftpserver.com/bbs/viewtopic.php?f=5&t=502

BTW, public key is used for server side, private key is used for client side.

Re: SSH pub key authentication failed

Posted: Thu Mar 17, 2011 4:26 pm
by ctech
yes, i know. I've already read that post. It works fine for FTP and FTPS, so the user itself is fine. I generated new pairs 3 times with 1024 and 2048, no luck. Server log says 'SSH authentication failed'. What else can I try?

Re: SSH pub key authentication failed

Posted: Thu Mar 17, 2011 4:55 pm
by FTP
Have you enabled the user password, if you have, please also provide the correct password.

Re: SSH pub key authentication failed

Posted: Thu Mar 17, 2011 5:30 pm
by ctech
yes! again, it works fine with FTP and FTPS so of course the password is enabled and correct. I've tried with different users.

Re: SSH pub key authentication failed

Posted: Thu Mar 17, 2011 5:58 pm
by ctech
also, sftp works fine WITHOUT using pub/priv keys. So here's a couple additional questions:
1) Is there a specific directory the pub keys need to reside? (currently, while specify pub key in user acct, i am unable to browse to OS C: drive or any other directory besides the FTP HOME user directory. I don't recall this being the case on the trial version)
2) Do I need to give special permissions to SYSTEM account (or other) where the SSH pub keys are stored?
3) Does the pub key need to be a .key file format?

thanks

Re: SSH pub key authentication failed

Posted: Fri Mar 18, 2011 2:33 am
by FTP
Please upgrade to the latest version 3.8.0.

Re: SSH pub key authentication failed

Posted: Mon Aug 27, 2012 8:37 pm
by eordona
ctech, did you ever get this working?