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?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello,
You need to add your SSH key to your user’s /home/user/.ssh/authroized_keys file in order to be able to ssh.
Also, you need to make sure that the /home/user/.ssh and the authorized_keys file has secure permissions.
Regards, Bobby
This comment has been deleted
This question was answered by @MSNK:
I am facing this issue… can anyone please help?
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.