<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Omid Shojaee</title>
    <description>The latest articles on DEV Community by Omid Shojaee (@omidshojaee).</description>
    <link>https://dev.to/omidshojaee</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F555660%2F85243445-cbcc-4cf6-b1e9-997da4dce4c3.png</url>
      <title>DEV Community: Omid Shojaee</title>
      <link>https://dev.to/omidshojaee</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/omidshojaee"/>
    <language>en</language>
    <item>
      <title>ssh-copy-id command on any machine</title>
      <dc:creator>Omid Shojaee</dc:creator>
      <pubDate>Thu, 18 Jul 2024 18:34:50 +0000</pubDate>
      <link>https://dev.to/omidshojaee/ssh-copy-id-command-on-any-machine-18k3</link>
      <guid>https://dev.to/omidshojaee/ssh-copy-id-command-on-any-machine-18k3</guid>
      <description>&lt;p&gt;The first step to harden a Linux machine is to enable passwordless logins and disable password-based authentication.&lt;/p&gt;

&lt;p&gt;However, the passwordless login requires a pair of public/private SSH keys, and the public key should be copied to the server and stored in a file named &lt;code&gt;authorized_keys&lt;/code&gt; located in the &lt;code&gt;.ssh&lt;/code&gt; folder inside user's home directory.&lt;/p&gt;

&lt;p&gt;One simple way to do that is to use a command called &lt;code&gt;ssh-copy-id&lt;/code&gt;, but this command is not available on Windows and Mac machines.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://github.com/omidshojaee/ssh-copy-id" rel="noopener noreferrer"&gt;In this repository&lt;/a&gt;, you'll find a Python implementation of &lt;code&gt;ssh-copy-id&lt;/code&gt; command for all platforms.&lt;/p&gt;

</description>
      <category>python</category>
      <category>linux</category>
      <category>ssh</category>
    </item>
  </channel>
</rss>
