<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Remote on SANJAY REGMI</title>
    <link>https://sanjayregmi.com/tags/remote/</link>
    <description>Recent content in Remote on SANJAY REGMI</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    
    <lastBuildDate>Sat, 10 Feb 2024 22:18:07 -0800</lastBuildDate><atom:link href="https://sanjayregmi.com/tags/remote/index.xml" rel="self" type="application/rss+xml" />
    
    <item>
      <title>Create Your Own Secure Network Accessible Over the Internet Using Tailscale</title>
      <link>https://sanjayregmi.com/posts/create-your-own-secure-network-accessible-over-the-internet-using-tailscale/</link>
      <pubDate>Sat, 10 Feb 2024 22:18:07 -0800</pubDate>
      
      <guid>https://sanjayregmi.com/posts/create-your-own-secure-network-accessible-over-the-internet-using-tailscale/</guid>
      <description>&lt;p&gt;It&amp;rsquo;s 2024 and there&amp;rsquo;s a fantastic tool available that can connect Windows, Mac, Linux, BSD machines together into a single network. Of course, that&amp;rsquo;s possible using samba, ssh, nfs or a whole range of other tools but &lt;a href=&#34;https://tailscale.com&#34;  target=&#34;_blank&#34; rel=&#34;noreferrer&#34;&gt;tailscale&lt;/a&gt; makes the process super easy and very quick. And for upto three users, you can have a network of upto one hundred machines, free!&lt;/p&gt;</description>
      
    </item>
    
    <item>
      <title>How to configure SSH for a passwordless login into your remote machine</title>
      <link>https://sanjayregmi.com/posts/ssh-without-password/</link>
      <pubDate>Fri, 26 Jan 2024 21:44:06 -0800</pubDate>
      
      <guid>https://sanjayregmi.com/posts/ssh-without-password/</guid>
      <description>&lt;ul&gt;&#xA;&lt;li&gt;On local machine, run&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;div class=&#34;highlight-wrapper&#34;&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;ssh-keygen&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;This creates two files &lt;code&gt;/.ssh/id_rsa.pub&lt;/code&gt; (public key) and &lt;code&gt;/.ssh/id_rsa&lt;/code&gt; (private key).&lt;/li&gt;&#xA;&lt;li&gt;Still on local machine, run&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;div class=&#34;highlight-wrapper&#34;&gt;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;ssh-copy-id remoteusername@remoteserver&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;This copies your public key to remote server.&lt;/li&gt;&#xA;&lt;li&gt;Now try doing ssh to remote machine, no password should be required.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&#xA;&lt;h4 class=&#34;relative group&#34;&gt;if ssh-copy-id fails&#xA;    &lt;div id=&#34;if-ssh-copy-id-fails&#34; class=&#34;anchor&#34;&gt;&lt;/div&gt;&#xA;    &#xA;    &lt;span&#xA;        class=&#34;absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none&#34;&gt;&#xA;        &lt;a class=&#34;text-primary-300 dark:text-neutral-700 !no-underline&#34; href=&#34;#if-ssh-copy-id-fails&#34; aria-label=&#34;Anchor&#34;&gt;#&lt;/a&gt;&#xA;    &lt;/span&gt;&#xA;    &#xA;&lt;/h4&gt;&#xA;&lt;p&gt;Sometimes, ssh-copy-id gives an error and doesn&amp;rsquo;t copy the files. In that case, use this one liner but replace the remoteuser and servername:&lt;/p&gt;</description>
      
    </item>
    
  </channel>
</rss>
