<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:media="http://search.yahoo.com/mrss/"><channel><title><![CDATA[Binary Dreamscape]]></title><description><![CDATA[Code, tech, thoughts, stories and ideas.]]></description><link>https://binarydreamscape.com/</link><image><url>https://binarydreamscape.com/favicon.png</url><title>Binary Dreamscape</title><link>https://binarydreamscape.com/</link></image><generator>Ghost 5.75</generator><lastBuildDate>Tue, 03 Mar 2026 11:23:01 GMT</lastBuildDate><atom:link href="https://binarydreamscape.com/rss/" rel="self" type="application/rss+xml"/><ttl>60</ttl><item><title><![CDATA[How to Generate an RSA Keypair to PEM format]]></title><description><![CDATA[<p>Creating an RSA keypair for JWT(RS256) or other purposes.</p><pre><code class="language-shellsession">$ openssl genrsa -out key.pem 2048
Generating RSA private key, 2048 bit long modulus
.......................................................................+++
..............................................+++
e is 65537 (0x10001)</code></pre><p>Extract the public key from the key pair.</p><pre><code class="language-shellsession">$ openssl rsa -in key.pem -outform PEM -pubout -out public.pem
writing RSA key</code></pre>]]></description><link>https://binarydreamscape.com/how-to-generate-an-rsa-keypair-to-pem-format/</link><guid isPermaLink="false">6570ae1f9c0ee70142313525</guid><category><![CDATA[How To]]></category><category><![CDATA[Security]]></category><category><![CDATA[RSA]]></category><category><![CDATA[Public Key Encryption]]></category><category><![CDATA[Public Key Cryptography]]></category><category><![CDATA[JWT]]></category><category><![CDATA[Information Security]]></category><dc:creator><![CDATA[Darwin Smith]]></dc:creator><pubDate>Tue, 11 Aug 2020 23:34:00 GMT</pubDate><media:content url="https://cdn.binarydreamscape.com/content/2023/12/c411a856-1aab-43c8-82b2-7e6865afbc5f.webp" medium="image"/><content:encoded><![CDATA[<img src="https://cdn.binarydreamscape.com/content/2023/12/c411a856-1aab-43c8-82b2-7e6865afbc5f.webp" alt="How to Generate an RSA Keypair to PEM format"><p>Creating an RSA keypair for JWT(RS256) or other purposes.</p><pre><code class="language-shellsession">$ openssl genrsa -out key.pem 2048
Generating RSA private key, 2048 bit long modulus
.......................................................................+++
..............................................+++
e is 65537 (0x10001)</code></pre><p>Extract the public key from the key pair.</p><pre><code class="language-shellsession">$ openssl rsa -in key.pem -outform PEM -pubout -out public.pem
writing RSA key</code></pre>]]></content:encoded></item><item><title><![CDATA[Your Credit Card company and your Bank are selling Your data]]></title><description><![CDATA[Financial Institutions are selling your data. You can do something about it.]]></description><link>https://binarydreamscape.com/your-credit-card-and-bank-company-are-selling-your-data/</link><guid isPermaLink="false">65708f1b9c0ee701423134c5</guid><category><![CDATA[Privacy]]></category><category><![CDATA[Information Security]]></category><category><![CDATA[Credit Cards]]></category><category><![CDATA[Banking]]></category><category><![CDATA[Data Privacy]]></category><category><![CDATA[Transaction Data]]></category><category><![CDATA[Data Brokers]]></category><category><![CDATA[Data Collection]]></category><category><![CDATA[Financial Information]]></category><dc:creator><![CDATA[Darwin Smith]]></dc:creator><pubDate>Fri, 31 Aug 2018 04:14:00 GMT</pubDate><media:content url="https://cdn.binarydreamscape.com/content/2023/12/Credit-Card-Data.jpg" medium="image"/><content:encoded><![CDATA[<img src="https://cdn.binarydreamscape.com/content/2023/12/Credit-Card-Data.jpg" alt="Your Credit Card company and your Bank are selling Your data"><p></p><h2 id="your-purchase-data-is-for-sale">Your purchase data is for sale</h2><p></p><h2 id="background">Background</h2><p>I was reading an article posted to&#xA0;<a href="https://news.ycombinator.com/item?id=17881157&amp;ref=binarydreamscape.com">Hacker News</a>&#xA0;recently,&#xA0;&#xA0;<a href="https://www.bloomberg.com/news/articles/2018-08-30/google-and-mastercard-cut-a-secret-ad-deal-to-track-retail-sales?ref=binarydreamscape.com">&#x201C;Google and Mastercard Cut Ad Deal to Track Retail Sales&#x201D;</a>, about how Google is buying transaction data from MasterCard. I&#x2019;ve noticed when setting up a new bank account or getting a new debit or credit card there is often a little notice inside about their privacy practices and how you can opt out, but they don&#x2019;t make it clear to what extent this is possible and what information it is that they sell and to whom.</p><h2 id="protecting-your-privacy">Protecting Your Privacy</h2><p>The best way to protect your financial privacy would be to use cash, but for many reasons that are not practical especially for modern convenience and things like online shopping. The purpose of these suggestions is to limit the amount of personal information and marketing data being collected and shared. Remember that the retailers and merchants you do business with may retain and sell your data as well, <em>this is exactly how most store rewards programs work</em>.</p><p><strong>Privacy.com</strong></p><p>I&#x2019;ve been using a transaction tool called&#xA0;<a href="https://privacy.com/?ref=binarydreamscape.com">Privacy.com</a>&#xA0;since I read in The Verge,&#xA0;<a href="https://www.theverge.com/2016/3/24/11298886/privacy-com-credit-card-vpn-browser-extension?ref=binarydreamscape.com">&#x201C;Privacy.com is a VPN for credit cards&#x201D;</a>&#xA0;a few years ago. So far it&#x2019;s worked well. It&#x2019;s not fully anonymous, but it keeps the data out of the bank or credit card company&#x2019;s hands and has some other benefits such as allowing you to set limits and delete the virtual cards. Their&#xA0;<a href="https://privacy.com/privacy-policy?ref=binarydreamscape.com">Privacy Policy</a>&#xA0;is also significantly easier to understand and as of writing, they do not market your transaction data like your financial institution probably does. One part of this service that has come in handy is the per-merchant cards since I haven&#x2019;t had to have my card re-issued each time another breach happens.</p><p><a href="https://privacy.com/join/A3YGV?ref=binarydreamscape.com">Privacy.com Referral Link</a></p><p><strong>IronVest (previously Abine Blur)</strong></p><p>I also used <a href="https://ironvest.com/virtual-credit-cards/?ref=binarydreamscape.com" rel="noreferrer">IronVest Virtual Credit Cards</a> when it was still called Abine Blur&#xA0;in the past, but I found the interface for virtual cards was lacking and the company hasn&#x2019;t updated it in years.</p><h2 id="privacy-policies-opt-out-links">Privacy Policies &amp; Opt-Out Links</h2><p>I&#x2019;ve added some links below to major credit card companies and bank websites where you can find the privacy policy details. More importantly, I have included links where you can opt out of data marketing, which is where the company markets and &#x201C;sells&#x201D; your data to other firms.</p><h3 id="creditdebit-cards">Credit/Debit Cards</h3><ul><li>Visa<ul><li><a href="https://marketingreportoptout.visa.com/OPTOUT/request.do?ref=binarydreamscape.com">Visa Marketing Reporting Opt-Out</a></li><li><a href="https://usa.visa.com/legal/privacy-policy-opt-out.html?ref=binarydreamscape.com">Visa Opt-Out</a></li></ul></li><li>MasterCard<ul><li><a href="https://www.mastercard.us/en-us/about-mastercard/what-we-do/privacy.html?ref=binarydreamscape.com">Privacy Notice</a></li><li><a href="https://www.mastercard.us/en-us/about-mastercard/what-we-do/privacy/data-analytics-opt-out.html?ref=binarydreamscape.com">MasterCard Data Analytics Opt-Out</a></li></ul></li><li>American Express<ul><li><em>Links below seem to contradict one another</em></li><li><a href="https://www.americanexpress.com/us/content/customer-privacy-principles.html?ref=binarydreamscape.com">Privacy Principles</a></li><li><a href="https://www.americanexpress.com/us/content/legal-disclosures/online-privacy-statement.html?ref=binarydreamscape.com#WRYC">Online Privacy Statement</a></li></ul></li><li>Discover<ul><li><a href="https://www.discover.com/privacy-statement/credit-cards-privacy-policy.html?ref=binarydreamscape.com">Privacy Policy</a></li></ul></li></ul><h3 id="banks">Banks</h3><ul><li>Chase<ul><li><a href="https://www.chase.com/digital/resources/privacy-security/privacy/consumer-privacy-notice?ref=binarydreamscape.com">Privacy Notice</a></li></ul></li><li>Citi<ul><li><a href="https://online.citi.com/JRS/portal/template.do?ID=Privacy&amp;ref=binarydreamscape.com">Privacy Notice</a></li></ul></li><li>Bank of America<ul><li><a href="https://www.bankofamerica.com/privacy/consumer-privacy-notice.go?ref=binarydreamscape.com">Privacy Notice</a></li><li><a href="https://secure.bankofamerica.com/customer/public/privacy.go?ref=binarydreamscape.com">Set Privacy Choices</a></li></ul></li><li>Fifth Third Bank<ul><li><a href="https://www.53.com/content/dam/fifth-third/docs/legal/fifth-third-bank-privacy-notice-2018.pdf?ref=binarydreamscape.com">Privacy Notice</a></li></ul></li><li>PNC Bank<ul><li><a href="https://www.pnc.com/en/privacy-policy.html?ref=binarydreamscape.com">Privacy Policy</a></li></ul></li><li>Wells Fargo<ul><li><a href="https://www.wellsfargo.com/privacy-security/privacy/individuals?ref=binarydreamscape.com">Privacy Policy</a></li></ul></li><li>US Bank<ul><li><a href="https://www.usbank.com/about-us-bank/privacy.html?ref=binarydreamscape.com">Privacy Policy</a></li></ul></li></ul>]]></content:encoded></item><item><title><![CDATA[How to Install a SSL/TLS certificate on your Ubiquiti EdgeRouter X]]></title><description><![CDATA[<p><strong>Making sure you can log-in</strong><br><br>Make sure you have SSH login enabled in by login into admin interface using your browser. Go to System menu at the bottom and make sure SSH is enabled, and note the port because we&apos;ll next that next. Be sure to save the</p>]]></description><link>https://binarydreamscape.com/how-to-install-a-ssl-tls-certificate-on-your-ubiquiti-edgerouter-x/</link><guid isPermaLink="false">656feb8366ca3a01424b4cf0</guid><category><![CDATA[How To]]></category><category><![CDATA[mkcert]]></category><category><![CDATA[Router]]></category><category><![CDATA[Tutorial]]></category><category><![CDATA[Edge Router]]></category><category><![CDATA[TLS]]></category><category><![CDATA[SSL]]></category><category><![CDATA[Security]]></category><category><![CDATA[Ubiquiti]]></category><dc:creator><![CDATA[Darwin Smith]]></dc:creator><pubDate>Thu, 09 Aug 2018 15:44:00 GMT</pubDate><media:content url="https://cdn.binarydreamscape.com/content/2023/12/Router-Security.jpg" medium="image"/><content:encoded><![CDATA[<img src="https://cdn.binarydreamscape.com/content/2023/12/Router-Security.jpg" alt="How to Install a SSL/TLS certificate on your Ubiquiti EdgeRouter X"><p><strong>Making sure you can log-in</strong><br><br>Make sure you have SSH login enabled in by login into admin interface using your browser. Go to System menu at the bottom and make sure SSH is enabled, and note the port because we&apos;ll next that next. Be sure to save the updated configuration if you didn&apos;t have SSH enabled already.</p><figure class="kg-card kg-video-card kg-width-wide kg-card-hascaption" data-kg-thumbnail="https://binarydreamscape.com/content/media/2023/12/EdgeRouter_SystemSettings_EnableSSH_thumb.jpg" data-kg-custom-thumbnail>
            <div class="kg-video-container">
                <video src="https://binarydreamscape.com/content/media/2023/12/EdgeRouter_SystemSettings_EnableSSH.mp4" poster="https://img.spacergif.org/v1/1942x1000/0a/spacer.png" width="1942" height="1000" loop autoplay muted playsinline preload="metadata" style="background: transparent url(&apos;https://binarydreamscape.com/content/media/2023/12/EdgeRouter_SystemSettings_EnableSSH_thumb.jpg&apos;) 50% 50% / cover no-repeat;"></video>
                <div class="kg-video-overlay">
                    <button class="kg-video-large-play-icon" aria-label="Play video">
                        <svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24">
                            <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"/>
                        </svg>
                    </button>
                </div>
                <div class="kg-video-player-container kg-video-hide">
                    <div class="kg-video-player">
                        <button class="kg-video-play-icon" aria-label="Play video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24">
                                <path d="M23.14 10.608 2.253.164A1.559 1.559 0 0 0 0 1.557v20.887a1.558 1.558 0 0 0 2.253 1.392L23.14 13.393a1.557 1.557 0 0 0 0-2.785Z"/>
                            </svg>
                        </button>
                        <button class="kg-video-pause-icon kg-video-hide" aria-label="Pause video">
                            <svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24">
                                <rect x="3" y="1" width="7" height="22" rx="1.5" ry="1.5"/>
                                <rect x="14" y="1" width="7" height="22" rx="1.5" ry="1.5"/>
                            </svg>
                        </button>
                        <span class="kg-video-current-time">0:00</span>
                        <div class="kg-video-time">
                            /<span class="kg-video-duration">0:10</span>
                        </div>
                        <input type="range" class="kg-video-seek-slider" max="100" value="0">
                        <button class="kg-video-playback-rate" aria-label="Adjust playback speed">1&#xD7;</button>
                        <button class="kg-video-unmute-icon" aria-label="Unmute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24">
                                <path d="M15.189 2.021a9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h1.794a.249.249 0 0 1 .221.133 9.73 9.73 0 0 0 7.924 4.85h.06a1 1 0 0 0 1-1V3.02a1 1 0 0 0-1.06-.998Z"/>
                            </svg>
                        </button>
                        <button class="kg-video-mute-icon kg-video-hide" aria-label="Mute">
                            <svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 24 24">
                                <path d="M16.177 4.3a.248.248 0 0 0 .073-.176v-1.1a1 1 0 0 0-1.061-1 9.728 9.728 0 0 0-7.924 4.85.249.249 0 0 1-.221.133H5.25a3 3 0 0 0-3 3v2a3 3 0 0 0 3 3h.114a.251.251 0 0 0 .177-.073ZM23.707 1.706A1 1 0 0 0 22.293.292l-22 22a1 1 0 0 0 0 1.414l.009.009a1 1 0 0 0 1.405-.009l6.63-6.631A.251.251 0 0 1 8.515 17a.245.245 0 0 1 .177.075 10.081 10.081 0 0 0 6.5 2.92 1 1 0 0 0 1.061-1V9.266a.247.247 0 0 1 .073-.176Z"/>
                            </svg>
                        </button>
                        <input type="range" class="kg-video-volume-slider" max="100" value="100">
                    </div>
                </div>
            </div>
            <figcaption><p dir="ltr"><span style="white-space: pre-wrap;">Enable SSH Walkthrough</span></p></figcaption>
        </figure><p><br>Next open the Terminal app of your choice and attempt login. You don&apos;t need to specify <code>-p &lt;port&gt;</code> if you are using the default SSH port of 22.</p><pre><code class="language-shellsession">$ ssh &lt;your username&gt;@&lt;router ip&gt; -p &lt;port&gt;
Linux ubnt 3.10.107-UBNT #1 SMP Mon Mar 5 18:53:35 UTC 2018 mips
Welcome to EdgeOS</code></pre><p>You can also take the time to visit&#xA0;<code>Wizards &gt; DNS host names</code>&#xA0;in the admin interface and create a static mapped domain for your router such as&#xA0;<code>router.local or edgerouter.local</code>. The will allow you to enter&#xA0;<code>router.local</code>&#xA0;into any device on your network using router dns to automatically find your router without needing to remember the IP address.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://cdn.binarydreamscape.com/content/2023/12/EdgeRouter_DNSHostNames_Screenshot.jpg" class="kg-image" alt="How to Install a SSL/TLS certificate on your Ubiquiti EdgeRouter X" loading="lazy" width="3000" height="799"><figcaption><span style="white-space: pre-wrap;">DNS Configuration</span></figcaption></figure><h3 id="certificate-creation">Certificate Creation</h3><p>I decided to use&#xA0;<a href="https://github.com/FiloSottile/mkcert?ref=binarydreamscape.com"><code>mkcert</code></a>&#xA0;for creating a self-signed certificate that can be trsuted by my own machines. Follow the directions for setup or obtain a certificate some other way. The next steps will assume you have a certifcate created or will be using&#xA0;<code>mkcert</code>.</p><p><strong>Creating certificate using&#xA0;<code>mkcert</code></strong></p><p>You&#x2019;ll want to open a new terminal window or tab since these commands will be on your local machine.</p><pre><code class="language-shellsession">$ cd ~/Downloads ## Folder where you want the newly created certs to be
$ mkcert &lt;your router ip&gt; &lt;optionally- router hostname: router.local&gt;

Using the local CA at &quot;/Users/dwin/Library/Application Support/mkcert&quot; &#x2728;

Created a new certificate valid for the following names &#x1F4DC;
 - &quot;10.0.10.1&quot;
 - &quot;router.local&quot;
 - &quot;edgerouter.local&quot;

The certificate is at &quot;./10.0.10.1+2.pem&quot; and the key at &quot;./10.0.10.1+2-key.pem&quot;</code></pre><p>Combine Key and Certificate File to&#xA0;<code>.pem</code>&#xA0;encoded file.</p><pre><code class="language-shellsession">$ cat 10.0.10.1+2-key.pem  10.0.10.1+2.pem &gt; server.pem</code></pre><h3 id="install-certificate">Install Certificate</h3><p>Start by making a backup copy of the existing certifcate on the router.</p><p>In your router terminal session:</p><pre><code class="language-shellsession">$ sudo cp /etc/lighttpd/server.pem /etc/lighttpd/.old_server.pem</code></pre><p>In your machine terminal session:</p><pre><code class="language-shellsession">$ scp /Users/username/Downloads/server.pem username@10.0.10.1:/home/username/server.pem
Welcome to EdgeOS

By logging in, accessing, or using the Ubiquiti product, you
acknowledge that you have read and understood the Ubiquiti
License Agreement (available in the Web UI at, by default,
http://192.168.1.1) and agree to be bound by its terms.

username@10.0.10.1&apos;s password:
server.pem        </code></pre><p>In your router terminal session:</p><pre><code class="language-shellsession">$ sudo cp /home/username/server.pem /etc/lighttpd/server.pem

# Kill Router Web GUI server

$ sudo kill -SIGINT $(cat /var/run/lighttpd.pid)

# Start it up again
$ sudo /usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf

$ exit
logout
Connection to 10.0.10.1 closed.</code></pre><p>You should now be able to point your browser at the Router Web GUI and see a valid TLS secured connection.</p><p>Special thanks to&#xA0;<a href="https://github.com/FiloSottile?ref=binarydreamscape.com">Filippo Valsorda</a>&#xA0;for creating&#xA0;<a href="https://github.com/FiloSottile/mkcert?ref=binarydreamscape.com"><code>mkcert</code></a>.</p>]]></content:encoded></item><item><title><![CDATA[SSH Key Generation and Security on macOS 10.12 and up]]></title><description><![CDATA[<p>This tutorial will show you how to generate and secure SSH keys on macOS Sierra(10.12),High Sierra(10.13), and Mojave (10.14). T<em>his should also work on macOS 11, 12, 13, 14 as well</em>. SSH Keys offer a secure way to log into your servers or</p>]]></description><link>https://binarydreamscape.com/ssh-key-generation-and-security-on-macos-10-12-and-10-13/</link><guid isPermaLink="false">656fde6266ca3a01424b4c67</guid><category><![CDATA[How To]]></category><category><![CDATA[SSH]]></category><category><![CDATA[PKE]]></category><category><![CDATA[Public Key Encryption]]></category><category><![CDATA[Tutorial]]></category><category><![CDATA[Remote Access]]></category><category><![CDATA[Security]]></category><category><![CDATA[OpenSSL]]></category><category><![CDATA[macOS]]></category><category><![CDATA[macOS Sierra]]></category><category><![CDATA[macOS Mojave]]></category><category><![CDATA[macOS High Sierra]]></category><dc:creator><![CDATA[Darwin Smith]]></dc:creator><pubDate>Sat, 08 Jul 2017 23:41:00 GMT</pubDate><media:content url="https://cdn.binarydreamscape.com/content/2023/12/digital-security.jpg" medium="image"/><content:encoded><![CDATA[<img src="https://cdn.binarydreamscape.com/content/2023/12/digital-security.jpg" alt="SSH Key Generation and Security on macOS 10.12 and up"><p>This tutorial will show you how to generate and secure SSH keys on macOS Sierra(10.12),High Sierra(10.13), and Mojave (10.14). T<em>his should also work on macOS 11, 12, 13, 14 as well</em>. SSH Keys offer a secure way to log into your servers or other machines without requiring a password. They increase convenience as well as security by being significantly more resistant to brute-force attacks.<br><br>SSH (Secure Shell) is a protocol most often used for remote management and for file transfer often denoted as sFTP(Secure File Transfer Protocol). When accessing remote server such as a Remote VPS it is recommended to use SSH with PKE(Public Key Exchange) which uses a key-pair where the public key is provided to the server and the private key in stored on your machine. <br><br>SSH Keys can be automatically added to servers during the installation process by adding your public keys to the Digital Ocean or Vultr control panel. It is important to remember that these are your public keys only (usually denoted with <code>.pub</code>), you should never expose private keys.</p><h3 id="key-types">Key Types</h3><p>There are several different key types that can be selected. Using <code>-t</code> argument upon generation such as <code>ssh-keygen -t ed25519</code>. The ED25519 key type using elliptic-curve signature which offers is more secure and more performant than DSA or ECDSA. Most modern SSH software (such as OpenSSH since version 6.5) supports the ED25519 key type, but you may still find some software is incompatible, thus the default key type is still RSA. <br><br>The default key type is 2048-bit RSA which offers good security and compatibility. For higher security, you can choose a larger key size using the <code>-b</code> argument on generation such as <code>ssh-keygen -b 4096</code> to create a 4096-bit RSA key pair.</p><h3 id="key-generation">Key Generation</h3><p>To generate an SSH key, you will need to open your terminal of choice (pre-installed is Terminal.app found in <strong>Applications &gt; Utilities &gt; Terminal)</strong>. We will be creating a key using the new creation algorithm to address the issues highlighted in the article: <a href="https://latacora.singles/2018/08/03/the-default-openssh.html?ref=binarydreamscape.com" rel="noreferrer">&quot;The default OpenSSH key encryption is worse than plaintext&quot;</a>.<br><br>To create a 4096-bit RSA key pair you will enter:</p><figure class="kg-card kg-code-card"><pre><code class="language-shellsession">$ ssh-keygen -o -b 4096</code></pre><figcaption><p><span style="white-space: pre-wrap;">SSH key generation command for RSA to enter into terminal</span></p></figcaption></figure><p>You should then see,</p><pre><code class="language-shellsession">Generating public/private rsa key pair.
Enter file in which to save the key (/Users/username/.ssh/id_rsa):</code></pre><p>Pressing <strong>Enter/Return</strong> will save your new key pair to this default location, which is recommended. You will then have the option to create a passphrase, which will encrypt the key so that it cannot be used without authorization. Using a passphrase is recommended.</p><pre><code class="language-shellsession">Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in id_rsa.
Your public key has been saved in id_rsa.pub.
The key fingerprint is:
SHA256:0irBXp+xKwT5e0ZFklbEVkzxu0Bzv9PmvstFD5w6zlQ username@Your-Mac.local
The key&apos;s randomart image is:
+---[RSA 4096]----+
|         =o++.   |
|        + + ..   |
|     . . +  o o  |
|   .o  .  .. + + |
|    ooo S.  . E o|
|   . oo+.+   + ++|
|    o..o+   + .o=|
|     .o o. + ..oo|
|       +.   o  ==|
+----[SHA256]-----+</code></pre><p>At this point, your keypair has been created and stored in `~/.ssh/id_rsa` if you chose to store in the default location. </p><hr><p><strong>Add new keypair to SSH agent</strong></p><p>To make the key available to the system and store the passphrase in the system keychain we will need to complete several more steps.</p><p><em>Note: This is only needed if you would rather not be prompted for the key passphrase each time it is used.</em></p><p>Enter <code>ssh-add -K ~/.ssh/id_rsa</code>. You will then be prompted for the passphrase if you created one and should see the following:</p><pre><code class="language-shellsession">Identity added: id_rsa (username@Your-Mac.local)</code></pre><hr><p>If you would like to use this SSH key for login on a server that has already been created you can use the ssh-copy-id tool to store the public key on the server you would like to access.</p><p><strong>Add new key to remote server</strong><br>Using <code>ssh-copy-id</code>:</p><figure class="kg-card kg-code-card"><pre><code class="language-shellsession">$ ssh-copy-id -i ~/.ssh/id_rsa root@192.0.2.1\</code></pre><figcaption><p><span style="white-space: pre-wrap;">Adding newly created SSH key to remote server. </span><b><strong style="white-space: pre-wrap;">Substitute the appropriate username and IP/hostname.</strong></b></p></figcaption></figure><p>It will request your login password since the remote server is not yet aware of your key. You should see the following:</p><pre><code class="language-shellsession">/usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: &quot;id_rsa.pub&quot;

Number of key(s) added:        1

Now try logging into the machine, with: &quot;ssh &apos;root@192.0.2.1&apos;&quot;
and check to make sure that only the key(s) you wanted were added.</code></pre><p>You can now attempt to login to the remote server with <code>ssh root@192.0.2.1</code> and you should be connected without requiring a password.</p>]]></content:encoded></item></channel></rss>