【ssh】ssh登入出現‘The authenticity of host ‘IP’ can't be established.’的問題
問題出現情景:
1.GNS3搭建主機;
2.kali虛擬機器用ssh進行登入;
3.出現的情況截圖:
問題分析:
出現原因:安全級別 StrictHostKeyChecking
是有三種配置的
1.StrictHostKeyChecking = no
最不安全的級別,不會出現任何的提示,主要用於內網測試;
2.StrictHostKeyChecking = ask
預設的級別,如果連線和key不匹配,給出提示,並拒絕登入;剛剛出現的截圖,就是這個問題導致的。
3.StrictHostKeyChecking = yes
最安全級別,如果不匹配,拒絕連線,不給出任何提示;
解決方案:
1.開啟資料夾這個資料夾:
2.在後面新增以下:
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
3.重新連線即可!
相關推薦
【ssh】ssh登入出現‘The authenticity of host ‘IP’ can39;t be established.’的問題
技術標籤:javalinuxsshmysqlcentos 問題出現情景: 1.GNS3搭建主機; 2.kali虛擬機器用ssh進行登入;
【題解】 CF1407E Egor in the Republic of Dagestan 圖論+貪心
Legend Link \\(\\textrm{to Codeforces}\\)。 給定 \\(n\\ (1 \\le 500\\ 000)\\) 個點,\\(m \\ (0 \\le m \\le 500\\ 000)\\) 條有向邊,每條邊為兩種顏色之一。
GIT克隆專案出現:The authenticity of host ‘gitee.com (xxx.xxx.xxx.xxx)‘ can‘t be established.
技術標籤:GitGitHubGitlub GIT克隆專案出現:The authenticity of host ‘gitee.com (xxx.xxx.xxx.xxx)‘ can‘t be established.
【分享】 PetaLinux工程出現大量Taskhash mismatch錯誤的原因
1. Author Hank Fu (付漢傑) Staff FAE embedded, Xilinx, [email protected] 2. 問題 有工程師反映,在編譯PetaLinux工程時,出現大量Taskhash mismatch錯誤。工程還沒有編譯完成,檢查build.log,已經出現超過
【windows10】 磁碟下面出現感嘆號警示圖示識
【windows10】 磁碟下面出現感嘆號警示圖示識 1.背景2.解決辦法3.檢視磁碟 1.背景
【HttpClient】HttpRequestHeaders.From提示The specified value is not a valid 39;From39; header string.
前言 報錯原因:From需要是郵件地址的格式。 協議頭說明示例狀態 From 發起此請求的使用者的郵件地址
【Docker異常】docker-compose up throw UnicodeDecodeError: 39;ascii39; codec can39;t decode byte 0xe3 in position 97: ordinal not in range(128)
一、異常 [root@VM_0_4_centos prometheus-grafana-linux]# docker-compose up Traceback (most recent call last):
【leetcode】547. 省份數量(number-of-provinces)(圖論)[中等]
技術標籤:leetcodeBFS題解leetcodebfs 連結 https://leetcode-cn.com/problems/number-of-provinces/
【LeetCode】989. Add to Array-Form of Integer 陣列形式的整數加法(Easy)(JAVA)每日一題
技術標籤:LeetCode 每日一題leetcodejava資料結構演算法面試 【LeetCode】989. Add to Array-Form of Integer 陣列形式的整數加法(Easy)(JAVA)
【python】面試高頻:淺拷貝 vs 深拷貝、39;==39; vs 39;is39;
關於python在面試中會被問到哪些知識點,其實這主要取決於面試官。 額,別拿刀先,馬上扯正題。
【洛谷7093】[CERC2014] Can39;t stop playing(搜尋)
有一個初始為空的雙端佇列,你要插入$n$個$2$的非負整數冪,每次可以選擇插入方向。若相鄰兩個元素同為$2^x$,則它們會發生合併變成$2^{x+1}$。要求構造一組方案使得最終的佇列裡只有一個元素,或判斷無解。
【leetcode】two-sum 變形 633. Sum of Square Numbers
Given a non-negative integerc, decide whether there\'re two integersaandbsuch thata2+ b2= c. 只要是two_sum 變形 都可以考慮用hash_set來做。
【leetcode】1689. Partitioning Into Minimum Number Of Deci-Binary Numbers
題目如下: A decimal number is calleddeci-binaryif each of its digits is either0or1without any leading zeros. For example,101and1100aredeci-binary, while112and3001are not.
MacOS svn:E230001 Can39;t use Subversion command line client: svn The path to the Subversion executable is probably wrong.
注意:本文僅針對於 MacOS 系統。 錯誤資訊如下: Can\'tuseSubversioncommandlineclient:svnThepathtotheSubversionexecutableisprobablywrong.Fixit.
Spark2 Can39;t write dataframe to parquet hive table : HiveFileFormat`. It doesn39;t match the specified format `ParquetFileFormat`.
一、概述 出現該問題的原因是因為如果用命令列建立的hive表,會根據hive的hive.default.fileformat,這個配置來規定hive檔案的格式,其中fileformat一般有4中,分別是TextFile、SequenceFile、RCFile、ORC。預設情況
macbook中出現2003 - Can39;t connect to MySQL server on 39;127.0.0.139; (61 "Connection refused") 如何解決
第一步 關閉mysql服務: 蘋果->系統偏好設定->最下邊點mysql 在彈出頁面中 關閉mysql服務(點選stop mysql server)
Spark2 Can39;t write dataframe to parquet hive table : HiveFileFormat`. It doesn39;t match the specified format `ParquetFileFormat`
7 3 I\'m trying to save dataframe in table hive. In spark 1.6 it\'s work but after migration to 2.2.0 it doesn\'t work anymore.
python網路程式設計 windows下的multiprocessing模組建立程序出現AttributeError: Can39;t get attribute 39;fun39; on <module 39;__main__39; (built-in)>錯誤
【ipython錯誤】 Traceback (most recent call last):File \"<string>\", line 1, in <module>File \"d:\\software\\python\\lib\\multiprocessing\\spawn.py\", line 105, in spawn_mainexitcode = _
SpringSecurity遇到問題:Can39;t configure antMatchers after anyRequest、There is no PasswordEncoder mapped for the id "null"
一、報錯: java.lang.IllegalStateException: Can‘t configure antMatchers after anyRequest 啟動springboot專案,直接編譯報錯,內容:
Mysql Can39;t reach database server or port com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last
Can\'t reach database server or port SQLState - 08S01com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure The last packet sent successfully to the server was 0 millise