we did not send a packet, disable method

There are many, many reasons why client-side debugging (ssh -vvv ...) shows:

debug2: we did not send a packet, disable method

Many of these are listed in the answers to SSH public key won’t send to server on Unix & Linux, but, unfortunately, the client does not give any indication as to which one applies.

When I was struggling with this, my main problem was getting server-side logging/debugging to show. Of great help was the following (paraphrased) suggestion taken from Ciro Santilli 冠状病毒审查六四事件法轮功‘s answer to How to check sshd log? on ServerFault:

Start a new SSH Server instance on a new port in debug mode with:

/usr/sbin/sshd -d -p 2222

then connect to it from the client with:

ssh -p 2222 user@host

Leave a Comment