Agent admitted failure to sign using the key解決
最近在搭hadoop叢集遇到問題,需要用到免密碼登入,可是遇到問題,提示Agent admitted failure to sign using the key,百度一下說是需要把私鑰加入,通過ssh-add命令試試,可以成功。下面是本人遇到問題的操作過程,基於centOS7系統的,注意:本人是在home目錄下操作的,根據自己ssh存在位置而定
[hadoop@slave1 .ssh]$ ssh master
The authenticity of host 'master (192.168.238.129)' can't be established.
ECDSA key fingerprint is 4f:e2:e4:ca:9d:db:46:e7:72:a1:83:3e:09:27:6a:ef.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'master,192.168.238.129' (ECDSA) to the list of known hosts.
Agent admitted failure to sign using the key.
hadoop@master's password:
Last login: Wed Jun 20 18:30:25 2018 from master
[hadoop@master ~]$ exit
登出
Connection to master closed.
[hadoop@slave1 .ssh]$ ssh master
Agent admitted failure to sign using the key.
hadoop@master's password:
^C
[hadoop@slave1 .ssh]$ cd ..
[hadoop@slave1 ~]$ ssh-add
Identity added: /home/hadoop/.ssh/id_rsa (/home/hadoop/.ssh/id_rsa)
[hadoop@slave1 ~]$ ssh master
Last failed login: Wed Jun 20 18:32:17 CST 2018 from slave1 on ssh:notty
There was 1 failed login attempt since the last successful login.
Last login: Wed Jun 20 18:31:15 2018 from slave1
[hadoop@master ~]$
[hadoop@master ~]$
相關文章
- 不能成功配置ssh信任,提示Agent admitted failure to sign using the key.MITAI
- [Issue]Ubuntu 16.04 ssh: sign_and_send_pubkey: signing failed: agent refused operationUbuntuAI
- zabbix agent 型別所有key(19)型別
- Permission Denied(publickey) 解決
- Linux 出現 su: Authentication failure 解決辦法LinuxAI
- [翻譯]使用 ICS KeyChain API(Using the ICS KeyChain API)AIAPI
- Qt 解決報錯registered using qRegisterMetaType()QT
- ORA-00704: bootstrap process failure的解決方案bootAI
- python -- 解決字典【KEY ERROR】PythonError
- Redis bigkey解決方案Redis
- MySQL could not be resolved: Temporary failure in name resolution報錯解決方法MySqlAI
- Resolving failed: Temporary failure in name resolution 錯誤解決方法AI
- Generating a new SSH key and adding it to the SSH-agent
- 解決Vagrant報錯Warning: Authentication failure. Retrying問題AI
- Redis 大key(bigkey)問題的排查與解決方案Redis
- Assign Shortcut key for ASP.Net Page Using JavascriptASP.NETJavaScript
- SSH auth method: private key 的解決方案
- redis中大key問題的解決思路Redis
- msfconsole,OpenSSL::PKey::PKeyError報錯解決辦法Error
- Authentication failure 以及xxx is not in the sudoers file 問題的解決辦法AI
- Sign In with AppleAPP
- MYSQL解決error: 'Access denied for user 'root'@'localhost' (using password:MySqlErrorlocalhost
- 練習使用list failure,advise failure; repair failure;AI
- 解決 eclipse 上 Keystore was tampered with, or password was incorrectEclipse
- win10電腦啟動出現disk boot failure怎麼解決Win10bootAI
- javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure 解決方案JavaExceptionAI
- TSM備份時提示認證失敗(Authentication failure)問題的解決AI
- 解決 ALL MIRROR URLS ARE NOT USING FTP, HTTP[S] OR FILE 問題FTPHTTP
- qemu-guest-agent詳解
- Failure is not fatal, but failure to change might be.AI
- 學習thinkphp中api介面資料安全解決方案之sign有效時間處理PHPAPI
- ssh-agent與Centos基於key的免密碼登入CentOS密碼
- javascript Math.sign()JavaScript
- Anbox安裝apk失敗(提示Failure res=-113等)的解決方法APKAI
- FTP時報 GSSAPI error major: Unspecified GSS failure,KERBEROS_V4 錯誤的解決FTPAPIErrorAIROS
- ORA-27301: OS failure message: No space left on device解決一例AIdev
- ZABBIX伺服器端無法獲得AGENT資料解決方法伺服器
- 關於git的ssh-key:解決本地多個ssh-key的問題Git