<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Shell on mkz.me</title>
		<link>https://mkz.me/til/shell/</link>
		<description>Recent content in Shell on mkz.me</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
		
			<lastBuildDate>Tue, 08 Sep 2026 22:26:59 +0200</lastBuildDate>
		
			<atom:link href="https://mkz.me/til/shell/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Using VS Code remote SSH with fish as login shell</title>
				<link>https://mkz.me/til/shell/vscode-remote-ssh-with-fish/</link>
				<pubDate>Tue, 08 Sep 2026 22:26:59 +0200</pubDate>
				<guid>https://mkz.me/til/shell/vscode-remote-ssh-with-fish/</guid>
				<description>&lt;p&gt;&lt;a href=&#34;https://code.visualstudio.com/docs/remote/ssh&#34;  class=&#34;external-link&#34; target=&#34;_blank&#34; rel=&#34;noopener&#34;&gt;VS Code remote SSH&lt;/a&gt; would not&#xA;connect to a machine where my login shell was &lt;code&gt;fish&lt;/code&gt;. It installs and starts&#xA;its server side by running a POSIX shell script over the SSH connection, and&#xA;fish does not run those.&lt;/p&gt;&#xA;&lt;p&gt;The fix is to keep a POSIX shell as the &lt;em&gt;login&lt;/em&gt; shell and hand over to fish&#xA;only for interactive sessions. Change the login shell back:&lt;/p&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; class=&#34;chroma&#34;&gt;&lt;code class=&#34;language-sh&#34; data-lang=&#34;sh&#34;&gt;&lt;span class=&#34;line&#34;&gt;&lt;span class=&#34;cl&#34;&gt;$ chsh -s /bin/bash&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;then, in &lt;code&gt;~/.bashrc&lt;/code&gt;:&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
