Publickey access denied user but Root okay

June 8, 2018 68 views
DigitalOcean Ubuntu
chu0en8
By:
chu0en8

When i tried ssh using root access

debug1: Authentications that can continue: publickey
debug3: start over, passed a different list publickey
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 public key: RSA SHA256:PSQnv/ajononHTf15aPXn8WHG5OjLIK6DozzlmQrtw4 /Users/enz/.ssh/id_rsa
debug3: send_pubkey_test
debug3: send packet: type 50
debug2: we sent a publickey packet, wait for reply
debug3: receive packet: type 60
debug1: Server accepts key: pkalg ssh-rsa blen 279
debug2: input_userauth_pk_ok: fp SHA256:PSQnv/ajononHTf15aPXn8WHG5OjLIK6DozzlmQrtw4
debug3: sign_and_send_pubkey: RSA SHA256:PSQnv/ajononHTf15aPXn8WHG5OjLIK6DozzlmQrtw4
debug3: send packet: type 50
debug3: receive packet: type 52
debug1: Authentication succeeded (publickey).

it can continue, but when i tried ssh using the user that i create

debug1: Authentications that can continue: publickey
debug3: start over, passed a different list publickey
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 public key: RSA SHA256:PSQnv/ajononHTf15aPXn8WHG5OjLIK6DozzlmQrtw4 /Users/enz/.ssh/id_rsa
debug3: send_pubkey_test
debug3: send packet: type 50
debug2: we sent a publickey packet, wait for reply
debug3: receive packet: type 51
debug1: Authentications that can continue: publickey
debug1: Trying private key: /Users/enz/.ssh/id_dsa
debug3: no such identity: /Users/enz/.ssh/id_dsa: No such file or directory
debug1: Trying private key: /Users/enz/.ssh/id_ecdsa
debug3: no such identity: /Users/enz/.ssh/id_ecdsa: No such file or directory
debug1: Trying private key: /Users/enz/.ssh/id_ed25519
debug3: no such identity: /Users/enz/.ssh/id_ed25519: No such file or directory
debug2: we did not send a packet, disable method
debug1: No more authentication methods to try.
c_rs@lupa.cukopi.com: Permission denied (publickey).

i'm already create .ssh folder and authorize_keys

anyone can help me with it?

Be the first one to answer this question.