<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>lftp &#8211; richliu&#039;s blog</title>
	<atom:link href="https://richliu.com/tag/lftp/feed/" rel="self" type="application/rss+xml" />
	<link>https://richliu.com</link>
	<description>Linux, 工作, 生活, 家人</description>
	<lastBuildDate>Fri, 21 Jan 2022 03:26:59 +0000</lastBuildDate>
	<language>zh-TW</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>lftp 出現 Host key verification failed</title>
		<link>https://richliu.com/2015/11/30/1882/lftp-%e5%87%ba%e7%8f%be-host-key-verification-failed/</link>
					<comments>https://richliu.com/2015/11/30/1882/lftp-%e5%87%ba%e7%8f%be-host-key-verification-failed/#respond</comments>
		
		<dc:creator><![CDATA[richliu]]></dc:creator>
		<pubDate>Sun, 29 Nov 2015 17:33:13 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[lftp]]></category>
		<guid isPermaLink="false">https://richliu.com/?p=1882</guid>

					<description><![CDATA[<p>lftp 的 fish protocol 非常好用, 但是有時候會出現 Host key verificati [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://richliu.com/2015/11/30/1882/lftp-%e5%87%ba%e7%8f%be-host-key-verification-failed/">lftp 出現 Host key verification failed</a> appeared first on <a rel="nofollow" href="https://richliu.com">richliu&#039;s blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>lftp 的 fish protocol 非常好用, 但是有時候會出現 Host key verification failed 的問題.</p>
<p>原因在於 lftp 不會對於未知的 Host 回答 Yes.<br /><span id="more-1882"></span></p>
<p>像是這樣</p>


<pre class="wp-block-preformatted">
$ lftp -u test fish://10.1.1.1
密碼：
lftp test@10.1.1.1:~> debug
lftp test@10.1.1.1:~> rels
---- 正在執行進行連線的程式 (ssh -a -x -l test 10.1.1.1 echo FISH:;/bin/sh)
&lt;---
rels: 嚴重錯誤: Host key verification failed---- Disconnecting</pre>



<p>只要 Login 之後在 lftp 的 command 下輸入 <strong>set fish:auto-confirm yes</strong> , 就可以了</p>



<p>ref.<br /><a href="https://github.com/lavv17/lftp/issues/116" target="_blank" rel="noreferrer noopener">saves unknown host&#8217;s fingerprint in known_hosts without any prompt #116</a></p>
<p>The post <a rel="nofollow" href="https://richliu.com/2015/11/30/1882/lftp-%e5%87%ba%e7%8f%be-host-key-verification-failed/">lftp 出現 Host key verification failed</a> appeared first on <a rel="nofollow" href="https://richliu.com">richliu&#039;s blog</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://richliu.com/2015/11/30/1882/lftp-%e5%87%ba%e7%8f%be-host-key-verification-failed/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
