we did not send a packet, disable method

Renu picture Renu · Dec 18, 2017 · Viewed 26.8k times · Source

I have tried to setup public key connection between AIX to AIX and that's working and I am facing problem while I setup same public key connection between AIX and DataPower appliance.

I could see in logs that's connection established but while using public I am not able to login and everytime expecting to enter password manually.

Can someone please help on this?

debug1: Authentications that can continue: publickey,password
debug3: start over, passed a different list publickey,password
debug3: preferred publickey,keyboard-interactive,password
debug3: authmethod_lookup publickey
debug3: remaining preferred: keyboard-interactive,password
debug3: authmethod_is_enabled publickey
debug1: Next authentication method: publickey
debug1: Offering RSA public key: ./***_rsa.pub
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply
debug1: Authentications that can continue: publickey,password
debug2: we did not send a packet, disable method
debug3: authmethod_lookup password
debug3: remaining preferred: ,password

Answer

rupalisavekar picture rupalisavekar · Jul 13, 2020

I solved the same problem
(when I checked in my system there is .ssh/authorized_keys : the filename was wrong)
this way:

cp -p .ssh/authorised_keys .ssh/authorized_keys