<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Ssh on Yaohong</title><link>https://yh.timefriend.vip/tags/ssh/</link><description>Recent content in Ssh on Yaohong</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Fri, 20 Nov 2020 12:41:20 +0800</lastBuildDate><atom:link href="https://yh.timefriend.vip/tags/ssh/index.xml" rel="self" type="application/rss+xml"/><item><title>Config Github with SSH</title><link>https://yh.timefriend.vip/post/other/sshgit/</link><pubDate>Fri, 20 Nov 2020 12:41:20 +0800</pubDate><guid>https://yh.timefriend.vip/post/other/sshgit/</guid><description>&lt;h1 id="config-github-with-ssh"&gt;Config Github with SSH&lt;/h1&gt;&#10;&lt;h2 id="generating-a-new-ssh-key"&gt;Generating a new SSH key&lt;/h2&gt;&#10;&lt;p&gt;1.Open TerminalTerminalGit Bash.&lt;/p&gt;&#10;&lt;p&gt;2.Paste the text below, substituting in your GitHub email address.&lt;/p&gt;&#10;&lt;pre tabindex="0"&gt;&lt;code&gt;$ ssh-keygen -t ed25519 -C &amp;#34;your_email@example.com&amp;#34;&#10;&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;3.Then you&amp;rsquo;re prompted to do something, press Enter.&lt;/p&gt;&#10;&lt;p&gt;Then the keys will be saved under &lt;code&gt;~/.ssh&lt;/code&gt; folder.&lt;/p&gt;&#10;&lt;p&gt;You can use &lt;code&gt;ls -al ~/.ssh&lt;/code&gt; command to see them.&lt;/p&gt;&#10;&lt;p&gt;LOG:&lt;/p&gt;&#10;&lt;pre tabindex="0"&gt;&lt;code&gt;$ ssh-keygen -t ed25519 -C &amp;#34;my_email@example.com&amp;#34;&#10;Generating public/private ed25519 key pair.&#10;Enter file in which to save the key (/c/Users/myusername/.ssh/id_ed25519):&#10;Enter passphrase (empty for no passphrase):&#10;Enter same passphrase again:&#10;Your identification has been saved in /c/Users/myusername/.ssh/id_ed25519.&#10;Your public key has been saved in /c/Users/myusername/.ssh/id_ed25519.pub.&#10;&lt;/code&gt;&lt;/pre&gt;&lt;h2 id="config-github-key"&gt;Config github key&lt;/h2&gt;&#10;&lt;p&gt;Copy gitbash:&lt;/p&gt;</description></item></channel></rss>