<?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>David Hrbáč &#187; bash</title>
	<atom:link href="http://www.hrbac.cz/category/bash/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hrbac.cz</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Tue, 17 Jan 2012 21:43:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Ssh complains host id has been changed</title>
		<link>http://www.hrbac.cz/2011/10/ssh-complains-host-id-has-been-changed/</link>
		<comments>http://www.hrbac.cz/2011/10/ssh-complains-host-id-has-been-changed/#comments</comments>
		<pubDate>Mon, 24 Oct 2011 10:30:04 +0000</pubDate>
		<dc:creator>David Hrbáč</dc:creator>
				<category><![CDATA[bash]]></category>

		<guid isPermaLink="false">http://www.hrbac.cz/?p=350</guid>
		<description><![CDATA[There are situations when host id might be changed a few times during fast, automatic, and massive host deployment. Ssh client begins to complain on changed host id. &#91;root@builder2 ~&#93;# ssh webmel53 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Someone could be eavesdropping [...]]]></description>
			<content:encoded><![CDATA[<p>There are situations when host id might be changed a few times during fast, automatic, and massive host deployment. Ssh client begins to complain on changed host id.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>builder2 ~<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># ssh webmel53</span>
<span style="color: #000000; font-weight: bold;">@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@</span>
<span style="color: #000000; font-weight: bold;">@</span>    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED<span style="color: #000000; font-weight: bold;">!</span>     <span style="color: #000000; font-weight: bold;">@</span>
<span style="color: #000000; font-weight: bold;">@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@</span>
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY<span style="color: #000000; font-weight: bold;">!</span>
Someone could be eavesdropping on you right now <span style="color: #7a0874; font-weight: bold;">&#40;</span>man-in-the-middle attack<span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #000000; font-weight: bold;">!</span>
It is also possible that the RSA host key has just been changed.
The fingerprint <span style="color: #000000; font-weight: bold;">for</span> the RSA key sent by the remote host is
7f:<span style="color: #000000;">14</span>:<span style="color: #000000;">74</span>:<span style="color: #000000;">68</span>:ca:9e:e2:ec:1c:<span style="color: #000000;">44</span>:8c:ea:<span style="color: #000000;">29</span>:a9:<span style="color: #000000;">84</span>:<span style="color: #000000;">60</span>.
Please contact your system administrator.
Add correct host key <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #000000; font-weight: bold;">/</span>root<span style="color: #000000; font-weight: bold;">/</span>.ssh<span style="color: #000000; font-weight: bold;">/</span>known_hosts to get rid of this message.
Offending key <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #000000; font-weight: bold;">/</span>root<span style="color: #000000; font-weight: bold;">/</span>.ssh<span style="color: #000000; font-weight: bold;">/</span>known_hosts:<span style="color: #000000;">80</span>
RSA host key <span style="color: #000000; font-weight: bold;">for</span> webmel53 has changed and you have requested strict checking.
Host key verification failed.</pre></div></div>

<p>Quick and easy step follows:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>builder2 ~<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># ssh-keygen -R !$</span>
<span style="color: #c20cb9; font-weight: bold;">ssh-keygen</span> <span style="color: #660033;">-R</span> webmel53
<span style="color: #000000; font-weight: bold;">/</span>root<span style="color: #000000; font-weight: bold;">/</span>.ssh<span style="color: #000000; font-weight: bold;">/</span>known_hosts updated.
Original contents retained <span style="color: #c20cb9; font-weight: bold;">as</span> <span style="color: #000000; font-weight: bold;">/</span>root<span style="color: #000000; font-weight: bold;">/</span>.ssh<span style="color: #000000; font-weight: bold;">/</span>known_hosts.old</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.hrbac.cz/2011/10/ssh-complains-host-id-has-been-changed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Send file as attachment from commnad line</title>
		<link>http://www.hrbac.cz/2010/01/send-file-as-attachment-from-commnad-line/</link>
		<comments>http://www.hrbac.cz/2010/01/send-file-as-attachment-from-commnad-line/#comments</comments>
		<pubDate>Mon, 18 Jan 2010 13:04:28 +0000</pubDate>
		<dc:creator>David Hrbáč</dc:creator>
				<category><![CDATA[bash]]></category>
		<category><![CDATA[mailing]]></category>

		<guid isPermaLink="false">http://www.hrbac.cz/?p=145</guid>
		<description><![CDATA[There&#8217;s an easy way of sending files as attachment from command line: uuencode file name &#124; mail -s &#34;Subject&#34; &#34;to@tld.cz&#34; -- -ffrom@tld.cz Yes, there is double hyphen and -f before the from email address.]]></description>
			<content:encoded><![CDATA[<p>There&#8217;s an easy way of sending files as attachment from command line:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">uuencode <span style="color: #c20cb9; font-weight: bold;">file</span> name <span style="color: #000000; font-weight: bold;">|</span> mail <span style="color: #660033;">-s</span> <span style="color: #ff0000;">&quot;Subject&quot;</span> <span style="color: #ff0000;">&quot;to@tld.cz&quot;</span>  <span style="color: #660033;">--</span> -ffrom<span style="color: #000000; font-weight: bold;">@</span>tld.cz</pre></div></div>

<p>Yes, there is double hyphen and -f before the from email address.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hrbac.cz/2010/01/send-file-as-attachment-from-commnad-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

