简体   繁体   中英

ERROR Permission denied (publickey, gssapi-keyex, gssapi-with-mic)

this is my log for ssh -vvv root@107.173.2.141

调试 1 调试2 在此处输入图像描述

i've tried many method

  1. AllowUsers
  2. PasswordAuthentication Yes & PasswordAuthentication No
  3. PAM Yes & PAM No

For sure there is my server spec

  1. Centos 7
  2. VPS Witho Virtualization
  3. 1 Core 1 Gb of RAM
  4. I'll make this for ci CD

First, double-check that /root/.ssh/authorized_keys does have your public key in it ( /users/xxx/id_rsa.pub )

Then, if it fails, try if possible on the server to stop the SSH daemon , and restart it in debug mode: /usr/sbin/sshd -d -D : a manuel one-time session, which will print whatever query it receives.
That way, you will know why the destination refuses your SSH query.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM