<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Ssh on djismgaming&#39;s tech home</title>
    <link>https://djismgaming.github.io/tags/ssh/</link>
    <description>Recent content in Ssh on djismgaming&#39;s tech home</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Wed, 18 Oct 2023 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://djismgaming.github.io/tags/ssh/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Set up your SSH key-based authentication from Windows in a single line</title>
      <link>https://djismgaming.github.io/blog/windows-ssh-copy-id/</link>
      <pubDate>Wed, 18 Oct 2023 00:00:00 +0000</pubDate>
      <guid>https://djismgaming.github.io/blog/windows-ssh-copy-id/</guid>
      <description>&lt;p&gt;Using Linux directly to interact with Linux servers is pretty great and seamless. But when your daily driver is Windows, this can be a little more cumbersome.&lt;/p&gt;
&lt;p&gt;For instance, when connecting with the Windows version of OpenSSH there is a way to copy your generated key for simple password-less logins after that.&lt;/p&gt;
&lt;h2 id=&#34;generate-your-private-and-public-keys-in-your-windows-powershell-shell&#34;&gt;Generate your private and public keys in your Windows PowerShell shell&lt;/h2&gt;
&lt;p&gt;Execute the command below in Windows Terminal or any other terminal in Windows:&lt;/p&gt;</description>
    </item>
    <item>
      <title>SSH Tunneling for easy access to web-based apps from servers</title>
      <link>https://djismgaming.github.io/blog/ssh-tunneling-web-apps/</link>
      <pubDate>Fri, 13 Oct 2023 00:00:00 +0000</pubDate>
      <guid>https://djismgaming.github.io/blog/ssh-tunneling-web-apps/</guid>
      <description>&lt;p&gt;I had to access Portainer in my cloud VM to modify docker containers. I can access it now via any web browser with SSL (https) no problem, but this way is good in a pinch.&lt;/p&gt;
&lt;p&gt;Run this command in your local machine:&lt;/p&gt;
&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;ssh -L 9000:127.0.0.1:9000 my_user@my-remote-server
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;This will forward port 9000 to our local machine:&lt;/p&gt;
&lt;p&gt;http://localhost:9000 or http://127.0.0.1:9000&lt;/p&gt;
&lt;p&gt;At this local address the Portainer web UI from the remote server will appear.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
