Netbeans Private Key Authorisation Problem

An issue that I encountered with key based authentication

Recently I ran into an issue with key based authentication between Netbeans and an sFTP server.  It was returning an error saying I had an invalid private key.

The key worked for other tools, so I was slightly confused why it wouldn’t for Netbeans.

After some digging I uncovered that Netbeans doesn’t like PPK files, it needs OpenSSH key files in order to connect with key based authentication

Here’s the fix;

  1. Download PuTTY Key Generator
  2. Open your PPK file (File > Load Private Key)
  3. Convert your file (Conversions > Export OpenSSH Key)
  4. Load this as your key file in Netbeans

Recent posts View all

SEOInterviews

WebLinkR Interview - we spoke with SEO Reddit Mod WebLinkR about, well, SEO

A short interview with SEO Reddit Mod WebLinkR about some of their SEO thinking.

Productivity Web Dev

81% of people more wary of dependencies due to AI

We polled people about how they felt about software dependenices since more folk used AI