简体   繁体   English

错误权限被拒绝(公钥、gssapi-keyex、gssapi-with-mic)

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

this is my log for ssh -vvv root@107.173.2.141这是我的 ssh -vvv root@107.173.2.141 的日志

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

i've tried many method我尝试了很多方法

  1. AllowUsers允许用户
  2. PasswordAuthentication Yes & PasswordAuthentication No PasswordAuthentication 是 & PasswordAuthentication 否
  3. PAM Yes & PAM No PAM 是 & PAM 否

For sure there is my server spec肯定有我的服务器规格

  1. Centos 7 Centos 7
  2. VPS Witho Virtualization没有虚拟化的 VPS
  3. 1 Core 1 Gb of RAM 1 核 1 Gb RAM
  4. I'll make this for ci CD我会为 ci CD 做这个

First, double-check that /root/.ssh/authorized_keys does have your public key in it ( /users/xxx/id_rsa.pub )首先,仔细检查 /root/.ssh/authorized_keys 中是否包含您的公钥( /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.然后,如果失败,尽可能尝试在服务器上停止 SSH 守护程序,并在调试模式下重新启动它: /usr/sbin/sshd -d -D : 一次性使用 session,它将打印它收到的任何查询.
That way, you will know why the destination refuses your SSH query.这样,您就会知道为什么目的地拒绝您的 SSH 查询。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Git权限被拒绝(公钥,gssapi-keyex,gssapi-with-mic)? - Git Permission denied (publickey,gssapi-keyex,gssapi-with-mic)? OpenShift中的权限被拒绝(公钥,gssapi-keyex,gssapi-with-mic) - Permission denied (publickey,gssapi-keyex,gssapi-with-mic) in OpenShift 问题:权限被拒绝(publickey、gssapi-keyex、gssapi-with-mic) - Problem: Permission denied (publickey,gssapi-keyex,gssapi-with-mic) 无法连接到 EC2 实例并出现错误,权限被拒绝 (publickey,gssapi-keyex,gssapi-with-mic) - Unable to connect to EC2 instance with error, Permission denied (publickey,gssapi-keyex,gssapi-with-mic) 无法再SSH到EC2实例:权限被拒绝(publickey,gssapi-keyex,gssapi-with-mic) - Cannot ssh into EC2 instance anymore: Permission denied (publickey,gssapi-keyex,gssapi-with-mic) 用户@<ip address> :权限被拒绝(publickey,gssapi-keyex,gssapi-with-mic)</ip> - user@<ip address> : Permission denied (publickey,gssapi-keyex,gssapi-with-mic) 在ambari hadoop安装期间权限被拒绝(publickey,gssapi-keyex,gssapi-with-mic,密码) - Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password) during ambari hadoop installation AWS 权限被拒绝 (publickey,gssapi-keyex,gssapi-with-mic) EC2。 无法访问控制台 - AWS Permission denied (publickey,gssapi-keyex,gssapi-with-mic) EC2. No access to console ssh 连接权限被拒绝(公钥、gssapi-keyex、gssapi-with-mic、密码) - ssh connect Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password) 如何解决权限被拒绝(publickey、gssapi-keyex、gssapi-with-mic)? - How to resolve Permission denied (publickey,gssapi-keyex,gssapi-with-mic)?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM