<?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:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Tech Thinker - Medium]]></title>
        <description><![CDATA[Tech Thinker is problem solution and discussion group about technology. Happy to help you. - Medium]]></description>
        <link>https://medium.com/tech-thinker?source=rss----560f9ce2352a---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Tech Thinker - Medium</title>
            <link>https://medium.com/tech-thinker?source=rss----560f9ce2352a---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 16:18:55 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/tech-thinker" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Enable 2FA on Ubuntu Desktop Login with TOTP verification using Google Authenticator]]></title>
            <link>https://medium.com/tech-thinker/enable-2fa-on-ubuntu-desktop-login-with-totp-verification-using-google-authenticator-ac0cb85c9a52?source=rss----560f9ce2352a---4</link>
            <guid isPermaLink="false">https://medium.com/p/ac0cb85c9a52</guid>
            <category><![CDATA[2fa-authentication]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[ubuntu]]></category>
            <dc:creator><![CDATA[Asif Mohammad Mollah]]></dc:creator>
            <pubDate>Sun, 15 Feb 2026 17:53:00 GMT</pubDate>
            <atom:updated>2026-02-15T17:53:00.548Z</atom:updated>
            <content:encoded><![CDATA[<p>Purpose of this document is to enable two-factor authentication (2FA) on Ubuntu Desktop Login using Time-based One-Time Password (TOTP) verification with Google Authenticator.</p><h3>Why do we need 2FA?</h3><p>To enhance security by requiring an additional layer of authentication beyond just a password. This helps prevent unauthorized access even if a password is compromised.</p><h3>How to enable 2FA?</h3><h4>1. Install PAM Google Authenticator.</h4><pre>sudo apt update<br>sudo apt-get install libpam-google-authenticator</pre><h4>2. Generate a secret key using Google Authenticator.</h4><ul><li>Make sure you have any TOTP authenticator app installed on your mobile device.</li><li>Generate TOTP secret key</li></ul><pre>google-authenticator</pre><ul><li>For your reference I am giving this steps-</li></ul><pre>Do you want authentication tokens to be time-based (y/n) y</pre><pre>&lt;IT WILL SHOW QR CODE&gt;<br>&lt;SCAN TO AUTHENTICATOR APP&gt;<br>&lt;TYPE VERIFICATION CODE&gt;</pre><pre>Do you want me to update your &quot;/home/&lt;USER_NAME&gt;/.google_authenticator&quot; file? (y/n) y</pre><pre>Do you want to disallow multiple uses of the same authentication<br>token? This restricts you to one login about every 30s, but it increases<br>your chances to notice or even prevent man-in-the-middle attacks (y/n) y</pre><pre>By default, a new token is generated every 30 seconds by the mobile app.<br>In order to compensate for possible time-skew between the client and the server,<br>we allow an extra token before and after the current time. This allows for a<br>time skew of up to 30 seconds between authentication server and client. If you<br>experience problems with poor time synchronization, you can increase the window<br>from its default size of 3 permitted codes (one previous code, the current<br>code, the next code) to 17 permitted codes (the 8 previous codes, the current<br>code, and the 8 next codes). This will permit for a time skew of up to 4 minutes<br>between client and server.<br>Do you want to do so? (y/n) y</pre><pre>If the computer that you are logging into isn&#39;t hardened against brute-force<br>login attempts, you can enable rate-limiting for the authentication module.<br>By default, this limits attackers to no more than 3 login attempts every 30s.<br>Do you want to enable rate-limiting? (y/n) n</pre><h4>3. Configure Login to use TOTP verification.</h4><ul><li>Edit /etc/pam.d/gdm-password and add the following line after @include common-auth:</li></ul><pre>@include common-auth<br>auth required pam_google_authenticator.so</pre><ul><li>Don’t forget to backup the secret key generated by Google Authenticator.</li></ul><h3>Bonus Tips</h3><p>If you have different windows manager or login manager, you may need to edit different PAM configuration files. For example:</p><ul><li>For GDM, edit /etc/pam.d/gdm-password</li><li>For LightDM, edit /etc/pam.d/lightdm</li><li>For SDDM, edit /etc/pam.d/sddm</li><li>For LXDM, edit /etc/pam.d/lxdm</li><li>For KDM, edit /etc/pam.d/kdm</li><li>For Console login, edit /etc/pam.d/login</li></ul><p><em>Originally published at </em><a href="https://blogs.mrasif.in/posts/enable-2fa-on-ubuntu-desktop-login-with-totp/"><em>https://blogs.mrasif.in</em></a><em> on January 7, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ac0cb85c9a52" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tech-thinker/enable-2fa-on-ubuntu-desktop-login-with-totp-verification-using-google-authenticator-ac0cb85c9a52">Enable 2FA on Ubuntu Desktop Login with TOTP verification using Google Authenticator</a> was originally published in <a href="https://medium.com/tech-thinker">Tech Thinker</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Guidelines for logging and tracing]]></title>
            <link>https://medium.com/tech-thinker/guidelines-for-logging-and-tracing-70cb0310eb65?source=rss----560f9ce2352a---4</link>
            <guid isPermaLink="false">https://medium.com/p/70cb0310eb65</guid>
            <category><![CDATA[logging]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[logging-and-monitoring]]></category>
            <dc:creator><![CDATA[Asif Mohammad Mollah]]></dc:creator>
            <pubDate>Sun, 15 Feb 2026 17:48:23 GMT</pubDate>
            <atom:updated>2026-02-15T17:48:23.745Z</atom:updated>
            <content:encoded><![CDATA[<p>Purpose of this document is to Logging and Tracing Guidelines while developing application to avoid false alarm and do best practices.</p><h3>Core Log Levels &amp; Span Statuses</h3><p>Effective observability requires distinguishing between system-level failures and business-level logic.</p><h3>Log Levels</h3><ul><li><strong>Fatal/Panic:</strong> Use fatal or panic error strictly when system should not continue. For example- Important environment initialization or resource initialization etc.</li><li><strong>Error:</strong> Reserved strictly for System Failures. Use this when the application cannot perform its intended function due to external factors like a database being down, network timeouts, or infrastructure issues.</li><li><strong>Warn:</strong> Used for Security Issues or Unusual Behavior. These aren’t necessarily failures yet but require investigation.</li><li><strong>Info:</strong> Used for Business Validation and user-driven errors (e.g., an “Invalid Input” or “User Already Exists”).</li><li><strong>Debug/Trace:</strong> High-verbosity logs intended for Development and deep-dive troubleshooting.</li></ul><h3>Span Statuses</h3><p>In distributed tracing, spans help track the flow of a request.</p><ul><li><strong>Ok:</strong> Indicates success or successful business validation.</li><li><strong>Error:</strong> Indicates a system failure.</li><li><strong>Event:</strong> Used via AddEvent to attach specific business context or observability markers to a span.</li></ul><h3>The Five Golden Rules</h3><ol><li><strong>System Failures Only:</strong> Use the Error log level only when the system itself fails.</li><li><strong>Business Info:</strong> Use the Info log level for business logic outcomes (like validation failures).</li><li><strong>Real Errors Only:</strong> Use RecordError in spans specifically for technical failures, not business logic deviations.</li><li><strong>Contextual Events:</strong> Use AddEvent within spans to document business-related issues.</li><li><strong>Data Privacy:</strong> Never log sensitive information (PII, passwords, secrets).</li></ol><h3>Implementation Workflow</h3><p>The following table illustrates how to handle logging and tracing across different architectural layers based on the workflow diagram:</p><h3>Practical Scenarios</h3><p>Here is how to apply these guidelines to common real-world scenarios:</p><ul><li><strong>Invalid Login:</strong> This is a business logic outcome. Log as Info and use Add Event in the span.</li><li><strong>Database Error / Timeout:</strong> This is a system failure. Log as Error and use Record Error in the span.</li><li><strong>Unauthorized:</strong> Typically logged as Warn (security) or Info (business validation) depending on context.</li></ul><h3>Bonus</h3><p>You can <a href="https://blogs.mrasif.in/assets/uploads/blogs/Handbook-for-logging-and-tracing.png">Download this Handbook</a> in a diagram form to keep it handy.</p><p><em>Originally published at </em><a href="https://blogs.mrasif.in/posts/guidelines-for-logging-and-tracing/"><em>https://blogs.mrasif.in</em></a><em> on February 9, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=70cb0310eb65" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tech-thinker/guidelines-for-logging-and-tracing-70cb0310eb65">Guidelines for logging and tracing</a> was originally published in <a href="https://medium.com/tech-thinker">Tech Thinker</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[On-premise kubernetes cluster networking]]></title>
            <link>https://medium.com/tech-thinker/on-premise-kubernetes-cluster-networking-68852837d092?source=rss----560f9ce2352a---4</link>
            <guid isPermaLink="false">https://medium.com/p/68852837d092</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[homelab]]></category>
            <category><![CDATA[networking]]></category>
            <category><![CDATA[kubernetes]]></category>
            <dc:creator><![CDATA[Asif Mohammad Mollah]]></dc:creator>
            <pubDate>Sun, 15 Feb 2026 17:46:31 GMT</pubDate>
            <atom:updated>2026-02-15T17:46:31.480Z</atom:updated>
            <content:encoded><![CDATA[<p>Purpose of this article is to achive DNS connectivity with on-premise kubernetes cluster which doesn’t have Public IP/Gateway directly.</p><h3>Overview</h3><p>If you don’t have public ip on your on-premise cluster then it’s very deficult to expose service to the internet, there is some way to expose using tunnel but there also some limitation. If you want expose your cluster like manage service, then you can follow this article to understand then network behind it.</p><h3>Network diagram</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WtlWfwmCP9IOHzPiXMT97g.png" /></figure><h3>Required skills</h3><ol><li>Basics of Networking</li><li>Wiregurd Tunnel or Private Networking with NetBird/Tailscale</li><li>Kubernetes</li><li>Helm charts</li></ol><h3>Networking</h3><p>Here I am classifing the networks in two parts- <strong>1. External Network</strong> and <strong>2. Internal Network</strong>.</p><h3>1. External Network</h3><p>In this network we have to create an Exit Node and Your DNS server will point to exit node.</p><p><strong>a. Exit Node:</strong> Exit Node is a normal VPS/VM Instance with minimul configuration which has one fixed public IP address. You have to create an Wiregurd Server on it or you can use any networking solution like <a href="https://netbird.io/">NetBird</a> or <a href="https://tailscale.com/">Tailscale</a>. After that you need to install nginx reverse proxy on it then redirect all the request to your kubernetes master node IP(We will discuss this on later part of this article).</p><p><strong>b. DNS:</strong> You can use any DNS management system like Cloudflare or your domain provider DNS management system. Then you can assign your Exit Node IP to it. You can use wildcard domain like <strong>*.example.com</strong> or fixed DNS like <strong>example.com</strong> or <a href="http://www.example.com./"><strong>www.example.com</strong>.</a></p><h3>2. Internal Network</h3><p>In this network you should use a subnet for this example we are using 20.10.2.0/24. Then connect this internal network through Wireguard or NetBird or Talescale to your Exit Node. After that expose your subnet routing table to your Exit Node.</p><p>Lets, create three node kubernetes cluster- Master Node with IP 20.10.2.10/24 and two worker node 20.10.2.11/24 and 20.10.2.12/24.</p><h3>What need to do in k8s cluster?</h3><p>You need to setup load balancer inside kubernetes to route your trafic to spacifc application. These are the steps based on hierarchy-</p><p><strong>1. MetalLB:</strong> Install metal LB load balancer on your cluster:</p><p><strong>2. Nginx Ingress Controller:</strong> Install ingress controller on your cluster:</p><p><strong>3. Deployments:</strong> Now you are ready to deploy your application:</p><p><strong>3. Servcice:</strong> Your service type should be ClusterIP:</p><p><strong>3. Ingress:</strong> Define your ingress to use ingressClassName as nginx:</p><p>Example of ingress.yaml for your application.</p><p>Now deploy your ingress to kubernetes.</p><p>Now you should be able to access your application using your domain through internet.</p><p><em>Originally published at </em><a href="https://blogs.mrasif.in/posts/on-prem-k8s-cluster-networking/"><em>https://blogs.mrasif.in</em></a><em> on February 14, 2026.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=68852837d092" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tech-thinker/on-premise-kubernetes-cluster-networking-68852837d092">On-premise kubernetes cluster networking</a> was originally published in <a href="https://medium.com/tech-thinker">Tech Thinker</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[chatz: Your Unified Solution for Effortless Notifications Across Popular Platforms]]></title>
            <link>https://medium.com/tech-thinker/chatz-your-unified-solution-for-effortless-notifications-across-popular-platforms-91076b619a97?source=rss----560f9ce2352a---4</link>
            <guid isPermaLink="false">https://medium.com/p/91076b619a97</guid>
            <category><![CDATA[unified-solutions]]></category>
            <category><![CDATA[notifications]]></category>
            <category><![CDATA[many-platforms]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[chatz]]></category>
            <dc:creator><![CDATA[Asif Mohammad Mollah]]></dc:creator>
            <pubDate>Fri, 23 May 2025 19:36:32 GMT</pubDate>
            <atom:updated>2025-05-23T20:55:09.493Z</atom:updated>
            <content:encoded><![CDATA[<iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FGntLNqItyI0%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DGntLNqItyI0&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FGntLNqItyI0%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/865377a32c404112fb083e20e7b49319/href">https://medium.com/media/865377a32c404112fb083e20e7b49319/href</a></iframe><p><em>Chatz</em> is an open-source application designed to send messages to popular communication platforms like Google Chat, Slack, Discord and Telegram etc. Whether you’re monitoring server health, tracking job completions, or needing a quick notification tool, Chatz offers a unified way to communicate with your teams and devices, such as:</p><ul><li>Event Notifications: Automatically notify users of events occurring in background jobs, system processes, or application workflows.</li><li>Alerts: Integrate with script to alert teams of system status changes, errors, or other critical updates.</li><li>CI/CD Pipeline: Receive notifications when build status changes, pipeline status changes, and other events occur in the CI/CD pipeline. Visit: <a href="https://github.com/marketplace/actions/chatz-action">Chatz Action</a> to add to your github workflow.</li></ul><p>With chatz, you can streamline your notification processes across multiple platforms, making it an essential tool for developers, system administrators, and teams that need reliable communication for automated tasks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*FkWDFHClCSe9Bcws.png" /></figure><h3>Supported Providers</h3><ul><li>Slack: <a href="https://github.com/tech-thinker/chatz/blob/main/docs/slack.md">Read documentation</a></li><li>Google Chat: <a href="https://github.com/tech-thinker/chatz/blob/main/docs/google.md">Read documentation</a></li><li>Telegram: <a href="https://github.com/tech-thinker/chatz/blob/main/docs/telegram.md">Read documentation</a></li><li>Discord: <a href="https://github.com/tech-thinker/chatz/blob/main/docs/discord.md">Read documentation</a></li><li>Redis: <a href="https://github.com/tech-thinker/chatz/blob/main/docs/redis.md">Read documentation</a></li><li>SMTP: <a href="https://github.com/tech-thinker/chatz/blob/main/docs/smtp.md">Read documentation</a></li></ul><h3>Installation</h3><p>Download and install executable binary from GitHub releases page.</p><h3>Using homebrew</h3><pre>brew tap tech-thinker/tap<br>brew update<br>brew install chatz</pre><h3>Linux Installation</h3><pre>TAG=&lt;tag-name&gt;<br>curl -sL &quot;https://github.com/tech-thinker/chatz/releases/download/${TAG}/chatz-linux-amd64&quot; -o chatz<br>chmod +x chatz<br>sudo mv chatz /usr/bin</pre><h3>MacOS Installation</h3><pre>TAG=&lt;tag-name&gt;<br>curl -sL &quot;https://github.com/tech-thinker/chatz/releases/download/${TAG}/chatz-darwin-amd64&quot; -o chatz<br>chmod +x chatz<br>sudo mv chatz /usr/bin</pre><h3>Windows Installation</h3><pre>TAG=&lt;tag-name&gt;<br>curl -sL &quot;https://github.com/tech-thinker/chatz/releases/download/${TAG}/chatz-windows-amd64.exe&quot; -o chatz.exe<br>chatz.exe</pre><h3>Setup</h3><ul><li>Create config file at home directory. .chatz.ini</li></ul><pre>[default]<br>PROVIDER=slack<br>TOKEN=&lt;token&gt;<br>CHANNEL_ID=&lt;one-channel-id&gt;</pre><pre>[another]<br>PROVIDER=slack<br>TOKEN=&lt;token&gt;<br>CHANNEL_ID=&lt;another-channel-id&gt;</pre><ul><li>Config for slack provider</li></ul><pre>[default]<br>PROVIDER=slack<br>TOKEN=&lt;token&gt;<br>CHANNEL_ID=&lt;channel-id&gt;</pre><ul><li>Config for google provider</li></ul><pre>[default]<br>PROVIDER=google<br>WEB_HOOK_URL=&lt;webhook-url&gt;</pre><ul><li>Config for telegram provider</li></ul><pre>[default]<br>PROVIDER=telegram<br>TOKEN=&lt;bot-token&gt;<br>CHAT_ID=&lt;chat-id&gt;</pre><ul><li>Config for discord provider</li></ul><pre>[default]<br>PROVIDER=discord<br>WEB_HOOK_URL=&lt;webhook-url&gt;</pre><ul><li>Config for redis provider</li></ul><pre>[default]<br>PROVIDER=redis<br>CONNECTION_URL=&lt;redis-connection-url&gt;<br>CHANNEL_ID=&lt;redis-publish-channel&gt;</pre><ul><li>Config for smtp provider with TLS</li></ul><pre>[default]<br>PROVIDER=smtp<br>SMTP_HOST=smtp.gmail.com<br>SMTP_PORT=465<br>SMTP_USE_TLS=true<br>SMTP_USER=&lt;yourmailid@gmail.com&gt;<br>SMTP_PASSWORD=&lt;app-password&gt;<br>SMTP_SUBJECT=&lt;Your subject&gt;<br>SMTP_FROM=&lt;from-mail@gmail.com&gt;<br>SMTP_TO=&lt;user1@gmail.com,user1@gmail.com&gt;</pre><ul><li>Config for smtp provider with STARTTLS</li></ul><pre>[default]<br>PROVIDER=smtp<br>SMTP_HOST=smtp.gmail.com<br>SMTP_PORT=587<br>SMTP_USE_STARTTLS=true<br>SMTP_USER=&lt;yourmailid@gmail.com&gt;<br>SMTP_PASSWORD=&lt;app-password&gt;<br>SMTP_SUBJECT=&lt;Your subject&gt;<br>SMTP_FROM=&lt;from-mail@gmail.com&gt;<br>SMTP_TO=&lt;user1@gmail.com,user1@gmail.com&gt;</pre><ul><li>Config for smtp provider without encryption</li></ul><pre>[default]<br>PROVIDER=smtp<br>SMTP_HOST=smtp.yourmailserver.com<br>SMTP_PORT=25<br>SMTP_USER=&lt;yourmailid@yourmailserver.com&gt;<br>SMTP_PASSWORD=&lt;app-password&gt;<br>SMTP_SUBJECT=&lt;Your subject&gt;<br>SMTP_FROM=&lt;from-mail@yourmailserver.com&gt;<br>SMTP_TO=&lt;user1@gmail.com,user1@gmail.com&gt;</pre><h3>System Environment Support</h3><p>Chatz also support system environment variable. To use system environment variable then use --from-env or -e flag. Name of the environment variable is same as chatz.ini config key, for example export PROVIDER=slack.</p><pre>chatz -e &quot;Test&quot;<br># Or<br>chatz --from-env &quot;Test&quot;</pre><h3>Usage</h3><ul><li>Send message using default profile</li></ul><pre>chatz &quot;hello&quot;</pre><ul><li>Reply message using default profile</li></ul><pre>chatz -t=&quot;&lt;thread-id&gt;&quot; &quot;Hello&quot;</pre><ul><li>Send message using another profile</li></ul><pre>chatz --profile=another &quot;hello&quot;</pre><ul><li>Reply message using another profile</li></ul><pre>chatz --profile=another -t=&quot;&lt;thread-id&gt;&quot; &quot;Hello&quot;</pre><ul><li>See json output response</li></ul><pre>chatz -o &quot;Hi&quot;</pre><ul><li>See help</li></ul><pre>chatz --help</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=91076b619a97" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tech-thinker/chatz-your-unified-solution-for-effortless-notifications-across-popular-platforms-91076b619a97">chatz: Your Unified Solution for Effortless Notifications Across Popular Platforms</a> was originally published in <a href="https://medium.com/tech-thinker">Tech Thinker</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Telepath - the Ultimate ssh port forwarding tool.]]></title>
            <link>https://medium.com/tech-thinker/telepath-the-ultimate-ssh-port-forwarding-tool-39bf7d46a31c?source=rss----560f9ce2352a---4</link>
            <guid isPermaLink="false">https://medium.com/p/39bf7d46a31c</guid>
            <category><![CDATA[ssh-port-forwarding]]></category>
            <category><![CDATA[private-network]]></category>
            <category><![CDATA[ssh-tunnel]]></category>
            <category><![CDATA[port-forwarding]]></category>
            <category><![CDATA[jump-host]]></category>
            <dc:creator><![CDATA[Asif Mohammad Mollah]]></dc:creator>
            <pubDate>Sun, 19 Jan 2025 09:41:10 GMT</pubDate>
            <atom:updated>2025-01-20T19:16:14.547Z</atom:updated>
            <content:encoded><![CDATA[<h3>telepath</h3><p>Telepath is a modern, intelligent CLI tool for seamless and secure port forwarding. Designed with versatility and ease of use in mind, Telepath enables developers and system administrators to create complex forwarding paths across multiple hosts effortlessly. Whether you’re working with password-based or key-file authentication, single or multiple jump hosts, Telepath has you covered.</p><p>For more details visit GitHub repository: <a href="https://github.com/tech-thinker/telepath">https://github.com/tech-thinker/telepath</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/798/1*rT2RgOk8evgZTudUmahkwQ.png" /></figure><h3>Why Choose Telepath?</h3><ul><li>Multi-Jump Host Support: Telepath allows seamless port forwarding through multiple intermediate hosts, making it ideal for accessing restricted networks.</li><li>Secure Authentication: Supports password-based and keyfile authentication, ensuring flexibility and security.</li><li>CLI Simplicity: Its intuitive command-line interface simplifies complex operations with straightforward commands.</li><li>Daemon Mode: Runs as a background service for continuous operation, perfect for long-running port-forwarding tasks.</li><li>Customizable &amp; Open Source: It’s open source and developer-friendly, so you can tweak it for your needs.</li><li>No server side tool installation needed.</li></ul><h3>Installation</h3><p>Download and install executable binary from GitHub releases page.</p><h3>Using Homebrew</h3><pre>brew tap tech-thinker/tap<br>brew install telepath</pre><h3>Linux Installation</h3><pre># Use latest tag name from release page<br>TAG=&lt;tag-name&gt;<br><br>curl -sL &quot;https://github.com/tech-thinker/telepath/releases/download/${TAG}/telepath-linux-amd64&quot; -o telepath<br>chmod +x telepath<br>sudo mv telepath /usr/bin</pre><h3>MacOS Installation</h3><pre># Use latest tag name from release page<br>TAG=&lt;tag-name&gt;<br><br>curl -sL &quot;https://github.com/tech-thinker/telepath/releases/download/${TAG}/telepath-darwin-amd64&quot; -o telepath<br>chmod +x telepath<br>sudo mv telepath /usr/bin</pre><h3>Windows Installation</h3><pre># Use latest tag name from release page<br>TAG=&lt;tag-name&gt;<br><br>curl -sL &quot;https://github.com/tech-thinker/telepath/releases/download/${TAG}/telepath-windows-amd64.exe&quot; -o telepath.exe<br>telepath.exe</pre><h3>Verify checksum</h3><pre># Use latest tag name from release page<br>TAG=&lt;tag-name&gt;<br><br># Using sha256sum<br>curl -sL &quot;https://github.com/tech-thinker/telepath/releases/download/${TAG}/checksum-sha256sum.txt&quot; -o checksum-sha256sum.txt<br>sha256sum --ignore-missing --check checksum-sha256sum.txt<br># Using md5sum<br>curl -sL &quot;https://github.com/tech-thinker/telepath/releases/download/${TAG}/checksum-md5sum.txt&quot; -o checksum-md5sum.txt<br>md5sum --ignore-missing --check checksum-md5sum.txt</pre><p>Output:</p><pre>telepath-darwin-amd64: OK<br>telepath-darwin-amd64.tar.gz: OK<br>telepath-darwin-arm64: OK<br>telepath-darwin-arm64.tar.gz: OK<br>telepath-linux-amd64: OK<br>telepath-linux-amd64.tar.gz: OK<br>telepath-linux-arm: OK<br>telepath-linux-arm.tar.gz: OK<br>telepath-linux-arm64: OK<br>telepath-linux-arm64.tar.gz: OK<br>telepath-windows-amd64.exe: OK<br>telepath-windows-i386.exe: OK</pre><h3>CLI Guide</h3><ul><li>telepath help</li></ul><pre>telepath -h</pre><ul><li>Create crediential for key and password</li></ul><pre>telepath crediential add -T KEY -K &quot;/path-to/id_rsa&quot; cred1<br>telepath crediential add -T PASS -P &quot;my-password&quot; cred2</pre><ul><li>Create Host with crediential</li></ul><pre>telepath host add -H &lt;host-ip&gt; -P 22 -U &lt;username&gt; -C cred1 mylab1<br>telepath host add -H &lt;host-ip&gt; -P 22 -U &lt;username&gt; -C cred2 mylab2</pre><ul><li>Create tunnel for mysql connection</li></ul><pre>telepath tunnel add -L 3306 -H localhost -R 3306 -C mylab1,mylab2 tunnel1</pre><ul><li>Start and stop tunnel</li></ul><pre>telepath tunnel start tunnel1<br>telepath tunnel stop tunnel1</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=39bf7d46a31c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tech-thinker/telepath-the-ultimate-ssh-port-forwarding-tool-39bf7d46a31c">Telepath - the Ultimate ssh port forwarding tool.</a> was originally published in <a href="https://medium.com/tech-thinker">Tech Thinker</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ChatGPT]]></title>
            <link>https://medium.com/tech-thinker/chatgpt-389ce3abbe64?source=rss----560f9ce2352a---4</link>
            <guid isPermaLink="false">https://medium.com/p/389ce3abbe64</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[chatgpt]]></category>
            <dc:creator><![CDATA[Asif Mohammad Mollah]]></dc:creator>
            <pubDate>Mon, 24 Apr 2023 04:07:44 GMT</pubDate>
            <atom:updated>2023-04-24T04:07:22.506Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*uKFqprmPrZlJqWowtOQahQ.jpeg" /></figure><p>ChatGPT is an AI-powered language model developed by OpenAI. It is based on the GPT-3.5 architecture, which means it is a highly advanced and sophisticated system capable of processing vast amounts of natural language data. ChatGPT has quickly become one of the most talked-about language models in the field of artificial intelligence, with many experts hailing it as a major breakthrough in natural language processing.</p><p>One of the most impressive features of ChatGPT is its ability to understand and generate human-like responses to a wide range of questions and prompts. This is achieved through a combination of advanced algorithms and machine learning techniques that enable the model to analyze large amounts of text data and identify patterns and trends.</p><p>Another key advantage of ChatGPT is its ability to adapt and learn from new information. This means that as it processes more and more data, its responses become increasingly sophisticated and accurate. As a result, ChatGPT is able to provide highly personalized and relevant responses to a wide range of queries and prompts.</p><p>One of the most exciting applications of ChatGPT is in the field of chatbots. By integrating ChatGPT into a chatbot platform, companies can create highly effective and engaging chatbots that can interact with customers in a more natural and intuitive way. This can help to improve customer satisfaction, increase sales, and reduce customer churn.</p><p>In addition to its applications in chatbots, ChatGPT also has a wide range of other potential applications. For example, it could be used to improve the accuracy of machine translation systems, create more effective search engines, and develop more advanced virtual assistants.</p><p>Despite its many advantages, however, ChatGPT is not without its limitations. One of the biggest challenges facing the model is its reliance on large amounts of training data. This means that in order to generate accurate and effective responses, it needs to be fed with vast amounts of text data. This can be a significant challenge for companies that do not have access to large amounts of data, or for those that are working in niche or specialized areas.</p><p>Another challenge facing ChatGPT is the potential for bias in its responses. Like all language models, ChatGPT is only as unbiased as the data that is used to train it. This means that if the training data is biased in any way, the model’s responses may also be biased. This is a significant concern for companies that are using ChatGPT to interact with customers, as biased responses could lead to negative experiences and damage to the company’s reputation.</p><p>Overall, however, ChatGPT represents a major step forward in the field of natural language processing. Its ability to understand and generate human-like responses to a wide range of queries and prompts is truly remarkable, and it has the potential to revolutionize the way we interact with machines and technology. As the technology continues to develop, we can expect to see ChatGPT being used in an increasingly wide range of applications, from chatbots and virtual assistants to machine translation and search engines.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=389ce3abbe64" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tech-thinker/chatgpt-389ce3abbe64">ChatGPT</a> was originally published in <a href="https://medium.com/tech-thinker">Tech Thinker</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to push code from private repo to public repo using GitHub Actions?]]></title>
            <link>https://medium.com/tech-thinker/how-to-push-code-from-private-repo-to-public-repo-using-github-actions-fef15e156671?source=rss----560f9ce2352a---4</link>
            <guid isPermaLink="false">https://medium.com/p/fef15e156671</guid>
            <category><![CDATA[github-actions]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[push]]></category>
            <dc:creator><![CDATA[Asif Mohammad Mollah]]></dc:creator>
            <pubDate>Thu, 02 Dec 2021 19:38:51 GMT</pubDate>
            <atom:updated>2021-12-02T20:40:15.471Z</atom:updated>
            <content:encoded><![CDATA[<p>Sometimes we think about if our source code can be in private repository and is it possible to push to public repository using GitHub Actions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/672/0*I96DtgzAKCfb0wFF.png" /></figure><p><strong>Yes.</strong> That is <strong>possible</strong>.</p><p>To achieve this you can use push-to-repo action, this will help you to push to another github repository.</p><h4>Requirements</h4><ul><li>destination-github-username - target username</li><li>destination-repository-name - target repository</li><li>target-branch - repository&#39;s branch name</li><li>source-directory - the assets you want to push to</li><li>user-name - committer name (Optional)</li><li>user-email - committer email (Optional)</li><li>commit-message - custom commit message (Optional)</li><li>API_TOKEN_GITHUB (env) Personal Access Token (PAT)</li></ul><h4>Generate your personal token following the steps:</h4><ul><li>Go to the Github Settings (on the right hand side on the profile picture)</li><li>On the left hand side pane click on “Developer Settings”</li><li>Click on “Personal Access Tokens” (also available at <a href="https://github.com/settings/tokens">https://github.com/settings/tokens</a>)</li><li>Generate a new token, choose “Repo”. Copy the token.</li></ul><p>Then make the token available to the Github Action following the steps:</p><ul><li>Go to the Github page for the repository that you push from, click on “Settings”</li><li>On the left hand side pane click on “Secrets”</li><li>Click on “Add a new secret” and name it “GIT_PAT_TOKEN”</li></ul><h4>Usage</h4><pre>- name: Pushes to Repository<br>  uses: tech-thinker/push-to-repo@main<br>  env:<br>    API_TOKEN_GITHUB: ${{ secrets.GIT_PAT_TOKEN }}<br>  with:<br>    user-name: &quot;github-actions[bot]&quot;<br>    user-email: github-actions[bot]@users.noreply.github.com<br>    source-directory: &quot;output-dir&quot;<br>    destination-github-username: &quot;username&quot;<br>    destination-repository-name: &quot;repo-name&quot;<br>    target-branch: main</pre><p>licensed under <a href="https://github.com/tech-thinker/push-to-repo/blob/main/LICENSE">MIT License</a></p><h4>Reference Link:</h4><ul><li><a href="https://github.com/marketplace/actions/push-to-repository">https://github.com/marketplace/actions/push-to-repository</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fef15e156671" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tech-thinker/how-to-push-code-from-private-repo-to-public-repo-using-github-actions-fef15e156671">How to push code from private repo to public repo using GitHub Actions?</a> was originally published in <a href="https://medium.com/tech-thinker">Tech Thinker</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Let’s setup VS Code Cloud IDE]]></title>
            <link>https://medium.com/tech-thinker/lets-setup-vs-code-cloud-ide-7b6d3c2d5f85?source=rss----560f9ce2352a---4</link>
            <guid isPermaLink="false">https://medium.com/p/7b6d3c2d5f85</guid>
            <category><![CDATA[vscode]]></category>
            <category><![CDATA[code-server]]></category>
            <category><![CDATA[ide]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[server-setup]]></category>
            <dc:creator><![CDATA[Asif Mohammad Mollah]]></dc:creator>
            <pubDate>Thu, 22 Apr 2021 21:32:05 GMT</pubDate>
            <atom:updated>2021-05-28T08:41:45.805Z</atom:updated>
            <content:encoded><![CDATA[<p>Visual Studio Code is amazing IDE for web development. I am not going to tell how good it is, instead of this I will tell you how you can setup VS Code IDE in cloud environment. There is an open source VS Code IDE (<a href="https://github.com/cdr/code-server">GitHub Repo</a>) we will be using that.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4wvrGxdIgbtMd8xIYN93Dg.png" /></figure><p><strong>We will be following step by step guide-</strong></p><p><strong>Step 1:</strong> Go to temp directory and create a directory named code-server .</p><pre>$ cd /tmp<br>$ mkdir code-server<br>$ cd code-server</pre><p><strong>Step 2:</strong> Download compatible binaries of code server.</p><pre>$ wget <a href="https://github.com/cdr/code-server/releases/download/v3.9.3/code-server-3.9.3-linux-amd64.tar.gz">https://github.com/cdr/code-server/releases/download/v3.9.3/code-server-3.9.3-linux-amd64.tar.gz</a></pre><p><strong>Step 3:</strong> Extract tarball.</p><pre>$ tar -zxvf code-server-3.9.3-linux-amd64.tar.gz</pre><p><strong>Step 4:</strong> Copy extracted directory to /usr/lib and create symblink.</p><pre>$ sudo cp -r code-server-3.9.3-linux-amd64 /usr/lib/code-server<br>$ sudo ln -s /usr/lib/code-server/code-server /usr/bin/code-server</pre><p><strong>Step 5:</strong> Create a directory to store data:</p><pre>$ sudo mkdir /var/lib/code-server</pre><p><strong>Step 6:</strong> Now create a service to manage it better:</p><pre>$ sudo nano /lib/systemd/system/code-server.service</pre><p>Add following code inside this file.</p><pre>[Unit]<br>Description=code-server<br>After=nginx.service</pre><pre>[Service]<br>User=&lt;username-of-your-system&gt;<br>Type=simple<br>Environment=&quot;PASSWORD=&lt;password-of-your-system&gt;&quot; &quot;HOME=&lt;path-of-your-home-dir&gt;&quot;<br>ExecStart=/usr/bin/code-server --bind-addr=0.0.0.0:8080 --user-data-dir /var/lib/code-server --auth password<br>Restart=always</pre><pre>[Install]<br>WantedBy=multi-user.target</pre><p>Replace following thing with your actual value- &lt;username-of-your-system&gt;, &lt;password-of-your-system&gt; and &lt;path-of-your-home-dir&gt;, and save it.</p><p>Now you can clean up tmp directory:</p><pre>$ cd /tmp<br>$ rm -rf code-server</pre><p><strong>Step 7:</strong> Now you can perform action to start and stop your service and it will run on 8080 port.</p><pre>To start -<br>$ sudo systemctl start code-server<br>or<br>$ sudo service code-server start</pre><pre>To Stop - <br>$ sudo systemctl stop code-server<br>or<br>$ sudo service code-server stop</pre><pre>To Check Status -<br>$ sudo systemctl status code-server<br>or<br>$ sudo service code-server status</pre><p>That’s it, enjoy your code server.</p><p><strong>Bonus:</strong> You can buy cheapest vps on <a href="https://www.digitalocean.com/?refcode=059f645c4b99&amp;utm_campaign=Referral_Invite&amp;utm_medium=Referral_Program&amp;utm_source=badge">DigitalOcean</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7b6d3c2d5f85" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tech-thinker/lets-setup-vs-code-cloud-ide-7b6d3c2d5f85">Let’s setup VS Code Cloud IDE</a> was originally published in <a href="https://medium.com/tech-thinker">Tech Thinker</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to use multiple SSH Key for multiple Github account?]]></title>
            <link>https://medium.com/tech-thinker/how-to-use-multiple-ssh-key-for-multiple-github-account-9d3025b5fcc2?source=rss----560f9ce2352a---4</link>
            <guid isPermaLink="false">https://medium.com/p/9d3025b5fcc2</guid>
            <category><![CDATA[github]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[ssh-keys]]></category>
            <category><![CDATA[git]]></category>
            <dc:creator><![CDATA[Asif Mohammad Mollah]]></dc:creator>
            <pubDate>Thu, 21 Jan 2021 03:29:34 GMT</pubDate>
            <atom:updated>2021-01-20T14:26:54.208Z</atom:updated>
            <content:encoded><![CDATA[<p>I think most of the people have used ssh key to communicate securely with GitHub account.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*C3MSZgQBSZ0m6xYvENw_yw.png" /></figure><p>GitHub won’t allow same ssh public key for different GitHub account, that tricky So, we need to create multiple ssh key for multiple github account. Now the problem is only one key is set as default in system, so using multiple key with git command is little headache. I am telling some easiest solution that can be useful.</p><p>If you are cloning repository then use following command-</p><pre>GIT_SSH_COMMAND=&#39;ssh -i ~/.ssh/your_private_key&#39; git clone git@github.com:username/repo.git</pre><p>After clone done or if you already have cloned then you can set using git config that this repository will use specific private key. To add ssh private key in git config use this command-</p><pre>git config --local core.sshCommand &quot;ssh -i ~/.ssh/your_private_key&quot;</pre><p>That’s it, you can use any git operation using this private key as default.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9d3025b5fcc2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tech-thinker/how-to-use-multiple-ssh-key-for-multiple-github-account-9d3025b5fcc2">How to use multiple SSH Key for multiple Github account?</a> was originally published in <a href="https://medium.com/tech-thinker">Tech Thinker</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Expose your local development machine to the Internet using LocalTunnel.]]></title>
            <link>https://medium.com/tech-thinker/expose-your-local-development-machine-to-the-internet-using-localtunnel-d8107b6dfde0?source=rss----560f9ce2352a---4</link>
            <guid isPermaLink="false">https://medium.com/p/d8107b6dfde0</guid>
            <category><![CDATA[local-deployment]]></category>
            <category><![CDATA[port-forwarding]]></category>
            <category><![CDATA[hosting]]></category>
            <category><![CDATA[localtunnel]]></category>
            <dc:creator><![CDATA[Asif Mohammad Mollah]]></dc:creator>
            <pubDate>Thu, 21 Jan 2021 03:29:06 GMT</pubDate>
            <atom:updated>2020-02-12T18:41:55.927Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/650/1*v6RSfxzXdYe6xX7bgKEuTA.jpeg" /></figure><p>If you are a software developer and you want to host your web application then you need a domain and hosting server that is expensive.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*0rboIV414KSl8J4-.jpeg" /></figure><p>If you think to deploy a web application in your local system and provide access to all over the globe then you need a private IP and that is costly too.</p><p>Now it’s has a solution using open-source software and it’s totally free.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/650/0*quoFyCt1cmfCl6cu.jpeg" /></figure><p><strong>Local Tunnel</strong> allows you to easily share your local web service to the internet and it will give you a public subdomain that can be accessed from anywhere.</p><p>How to setup a <a href="https://localtunnel.github.io/www/"><strong>Local Tunnel</strong></a>?</p><p>It’s easy to setup a Local Tunnel in your system. You need Node JS in your system. You can download and install Node JS using this link-<a href="https://nodejs.org/en/download/">https://nodejs.org/en/download/</a></p><p>After installation Node and NPM, you need to install <strong>localtunnel</strong> package globally using this command.</p><blockquote>sudo npm install -g localtunnel</blockquote><p>Now you have a few more steps to expose your local port. If you are running your web application 3000 port in a local machine then use this command.</p><blockquote>lt --port 3000</blockquote><p>Or if you want a specific subdomain then use this command.</p><blockquote>lt --port 3000 --subdomain &lt;your_subdomain&gt;</blockquote><p>After executing this command you will get a subdomain of localtunnel.me.</p><p>You are done. This subdomain is accessible from anywhere in the globe.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d8107b6dfde0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tech-thinker/expose-your-local-development-machine-to-the-internet-using-localtunnel-d8107b6dfde0">Expose your local development machine to the Internet using LocalTunnel.</a> was originally published in <a href="https://medium.com/tech-thinker">Tech Thinker</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>