Amazon Lightsail - Connect To The Server Using SSH - Windows 10

Keywords: LAMP/MAMP/WAMP - AWS - How to - Connectivity (SSH/FTP)
I’ve looked all over the place and not found the answer. I’m trying to follow these instructions.

When I do I get a Putty Fatal Error. Remote side sent disconnect message type 2 (protocol error): “Connection blocked because server only allows public key authentication. Please contact your network administrator.”

I get a similar message when I try to connect with Filezilla.

Hi @keiserjb,

Did you convert the pem to the .ppk format? And did you specify the connection type as SSH? Could you send a screenshot of the Putty configuration page?


The problem turned out to be our firewall, nothing with the SSH settings.

1 Like