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 ~]$
相關文章
- Generating a new SSH key and adding it to the SSH-agent
- python -- 解決字典【KEY ERROR】PythonError
- Linux 出現 su: Authentication failure 解決辦法LinuxAI
- Qt 解決報錯registered using qRegisterMetaType()QT
- 【PAT】1006 Sign In and Sign Out
- PTA-1006—— Sign In and Sign Out
- Authentication failure 以及xxx is not in the sudoers file 問題的解決辦法AI
- SSH auth method: private key 的解決方案
- redis中大key問題的解決思路Redis
- 解決 ALL MIRROR URLS ARE NOT USING FTP, HTTP[S] OR FILE 問題FTPHTTP
- Sign In with AppleAPP
- Anbox安裝apk失敗(提示Failure res=-113等)的解決方法APKAI
- 關於git的ssh-key:解決本地多個ssh-key的問題Git
- win10電腦啟動出現disk boot failure怎麼解決Win10bootAI
- vscode中Git: host key verification failed的解決辦法VSCodeGitAI
- 工作195:解決key值不唯一的報錯
- Redis 大key(bigkey)問題的排查與解決方案Redis
- Mysql using使用詳解ZCSFMySql
- cdMysql?using?用法示例詳解MySql
- idea執行java專案main方法報build failure錯誤的解決方法IdeaJavaAIUI
- design for failureAI
- 學習thinkphp中api介面資料安全解決方案之sign有效時間處理PHPAPI
- qemu-guest-agent詳解
- SyntaxError: Non-ASCII character 與 Cannot decode using encoding "ascii" 錯誤解決ErrorASCIIEncoding
- 解決Mysql:ERROR 1045 (28000):Access denied for user ‘root‘@‘localhost‘ (using password: NO)的方法MySqlErrorlocalhost
- 解決 Specified key was too long ... 767 bytes 的本質問題
- Math.sign() 方法
- ZABBIX伺服器端無法獲得AGENT資料解決方法伺服器
- python3.10呼叫郵件SMTP報錯: ssl.SSLError: [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:997)解決PythonErrorAI
- 編譯ffmpeg遇到ERROR: x265 not found using pkg-config解決方法編譯Error
- 建立外來鍵時報 Cannot add foreign key constraint 解決方法AI
- java.sql.SQLNonTransientConnectionException: Public Key Retrieval is not allowed 報錯的解決方案JavaSQLException
- win10 hyper虛擬機器系統安裝失敗提示boot failure解決方法Win10虛擬機bootAI
- win10系統執行qq提示initialization failure:0x0000000c的解決方法Win10AI
- RuntimeError: Error(s) in loading state_dict for SSD: Missing key(s) in解決辦法Error
- Mac SSH 連線出現 Host key verification failed. 錯誤解決MacAI
- Error: Debug Failure at typeToStringErrorAI
- Preferred Read Failure GroupsAI