<?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: Joydeep Bhattacharya</title>
    <description>The latest articles on DEV Community by Joydeep Bhattacharya (@linkwithjoydeep).</description>
    <link>https://dev.to/linkwithjoydeep</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%2F1088908%2F31b019a4-64be-48f9-b822-9349ac927e30.jpg</url>
      <title>DEV Community: Joydeep Bhattacharya</title>
      <link>https://dev.to/linkwithjoydeep</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/linkwithjoydeep"/>
    <language>en</language>
    <item>
      <title>I built a small SSH wrapper to reduce daily friction</title>
      <dc:creator>Joydeep Bhattacharya</dc:creator>
      <pubDate>Sat, 28 Feb 2026 17:28:59 +0000</pubDate>
      <link>https://dev.to/linkwithjoydeep/i-built-a-small-ssh-wrapper-to-reduce-daily-friction-651</link>
      <guid>https://dev.to/linkwithjoydeep/i-built-a-small-ssh-wrapper-to-reduce-daily-friction-651</guid>
      <description>&lt;p&gt;I spend a lot of time SSHing into different hosts — prod, staging, dev boxes, database servers. Over time the friction adds up: remembering hostnames, retyping &lt;code&gt;user@10.0.1.something&lt;/code&gt;, losing sessions to flaky networks, accidentally running something on prod when you meant staging.&lt;/p&gt;

&lt;p&gt;I looked for a tool that fixed this and didn't find one that felt complete, so I built &lt;code&gt;oken&lt;/code&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  What it is
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;oken&lt;/code&gt; is a thin wrapper around your system &lt;code&gt;ssh&lt;/code&gt;. Every flag and argument passes through unchanged — so anything that works with &lt;code&gt;ssh&lt;/code&gt; works with &lt;code&gt;oken&lt;/code&gt;. You can even &lt;code&gt;alias ssh=oken&lt;/code&gt; and forget about it.&lt;/p&gt;

&lt;p&gt;On top of that it adds a few things &lt;code&gt;ssh&lt;/code&gt; has never had.&lt;/p&gt;




&lt;h2&gt;
  
  
  Fuzzy host picker
&lt;/h2&gt;

&lt;p&gt;Run &lt;code&gt;oken&lt;/code&gt; with no arguments and you get an interactive picker over all your saved hosts, sorted by recency. Type to filter. Hit Enter to connect.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;  Search: █                                        6 / 6 hosts
 ─────────────────────────────────────────────────────────────
  prod
&amp;gt; prod-web         ubuntu@10.0.1.50       [prod]      2h ago
  prod-db          deploy@10.0.1.51       [prod, db]  3d ago
  staging
  staging-web      ubuntu@10.0.2.10       [staging]   1w ago
  dev
  dev-laptop       joy@192.168.1.5        [dev]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Prefix your search with &lt;code&gt;#&lt;/code&gt; to filter exclusively by tag:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;  Search: #prod█                                   2 / 6 hosts
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Or from the command line:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;oken &lt;span class="nt"&gt;--tag&lt;/span&gt; prod   &lt;span class="c"&gt;# opens picker pre-filtered to prod hosts&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This is the main thing I built it for. Tag-based filtering across a lot of hosts is genuinely useful when you're juggling prod/staging/dev environments.&lt;/p&gt;




&lt;h2&gt;
  
  
  Everything else
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Auto-reconnect.&lt;/strong&gt; On exit code 255 (SSH connection error), oken retries automatically with a countdown. Disable per-session with &lt;code&gt;--no-reconnect&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Production warnings.&lt;/strong&gt; Tag a host &lt;code&gt;prod&lt;/code&gt; and oken prompts before connecting. Skip with &lt;code&gt;--yes&lt;/code&gt; for scripting.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Named tunnel profiles.&lt;/strong&gt; Save a tunnel once, start it with one word:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;oken tunnel add db &lt;span class="nt"&gt;-L&lt;/span&gt; 5432:localhost:5432 prod-db
oken tunnel start db
oken tunnel stop db
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Audit log.&lt;/strong&gt; Every session logged with duration and exit code. &lt;code&gt;oken audit&lt;/code&gt; to view.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Shell completions.&lt;/strong&gt; &lt;code&gt;oken completions&lt;/code&gt; sets everything up automatically — detects your shell, finds the right directory, patches your &lt;code&gt;.zshrc&lt;/code&gt; if needed.&lt;/p&gt;




&lt;h2&gt;
  
  
  It's not trying to replace fzf or ssh config
&lt;/h2&gt;

&lt;p&gt;A few people have pointed out that fzf can do fuzzy host picking with a one-liner. True — but that one-liner reads &lt;code&gt;~/.ssh/config&lt;/code&gt; and stops there. No tags, no recency sorting, no reconnect, no tunnel management. &lt;code&gt;oken&lt;/code&gt; is the assembled thing, not a building block.&lt;/p&gt;

&lt;p&gt;It also reads your existing &lt;code&gt;~/.ssh/config&lt;/code&gt; automatically, so there's nothing to migrate.&lt;/p&gt;




&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# macOS / Linux&lt;/span&gt;
curl &lt;span class="nt"&gt;-LsSf&lt;/span&gt; https://github.com/linkwithjoydeep/oken/releases/latest/download/oken-installer.sh | sh
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Written in Rust. Binary is under 2.5MB. No daemon, no background process, no config required.&lt;/p&gt;

&lt;p&gt;GitHub: &lt;a href="https://github.com/linkwithjoydeep/oken" rel="noopener noreferrer"&gt;https://github.com/linkwithjoydeep/oken&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Feedback and issues welcome — especially if something doesn't work on your setup.&lt;/p&gt;

</description>
      <category>cli</category>
      <category>rust</category>
      <category>ssh</category>
    </item>
  </channel>
</rss>
