snipt

Ctrl+h for KB shortcuts

Text only

Disable GitHub host key checking in Linux

echo -e "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
https://snipt.net/embed/59e4829e1e98fdd48e0fb1115cd131c4/
/raw/59e4829e1e98fdd48e0fb1115cd131c4/
59e4829e1e98fdd48e0fb1115cd131c4
text
Text only
2
2019-08-17T09:25:08
True
False
False
/api/public/snipt/69686/
disable-github-host-key-checking-in-linux
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>echo -e &quot;Host github.com\n\tStrictHostKeyChecking no\n&quot; &gt;&gt; ~/.ssh/config </span></pre></div> </td></tr></table>
Git, GitHub, Linux, host-key-checking

Text only

Disable ssh host key checking in Linux

ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no [email protected]
https://snipt.net/embed/259724021f8d5001ce10aeed11e33b0f/
/raw/259724021f8d5001ce10aeed11e33b0f/
259724021f8d5001ce10aeed11e33b0f
text
Text only
1
2019-08-13T21:30:52
True
False
False
Jul 26, 2013 at 05:12 AM
/api/public/snipt/69685/
disable-ssh-host-key-checking-in-linux
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no [email protected] </span></pre></div> </td></tr></table>
Linux, host-key-checking, ssh