<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Usage on Lima</title><link>https://deploy-preview-5702--lima-vm.netlify.app/docs/usage/</link><description>Recent content in Usage on Lima</description><generator>Hugo</generator><language>en</language><atom:link href="https://deploy-preview-5702--lima-vm.netlify.app/docs/usage/index.xml" rel="self" type="application/rss+xml"/><item><title>SSH</title><link>https://deploy-preview-5702--lima-vm.netlify.app/docs/usage/ssh/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://deploy-preview-5702--lima-vm.netlify.app/docs/usage/ssh/</guid><description>&lt;p&gt;Instead of the &lt;code&gt;limactl shell&lt;/code&gt; command, SSH can be used too:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-console" data-lang="console"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#8f5902"&gt;$&lt;/span&gt; limactl ls --format&lt;span style="color:#ce5c00;font-weight:bold"&gt;=&lt;/span&gt;&lt;span style="color:#4e9a06"&gt;&amp;#39;{{.SSHConfigFile}}&amp;#39;&lt;/span&gt; default
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#000;font-style:italic"&gt;/Users/example/.lima/default/ssh.config
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#a40000"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#8f5902"&gt;$&lt;/span&gt; ssh -F /Users/example/.lima/default/ssh.config lima-default
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;This is useful for interoperability with other software that expects the SSH connectivity.&lt;/p&gt;
&lt;h2 id="using-ssh-without-additional-options"&gt;Using SSH without additional options&lt;/h2&gt;
&lt;p&gt;Add the following line to your &lt;code&gt;~/.ssh/config&lt;/code&gt;:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;Include ~/.lima/*/ssh.config
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Then you can connect directly without specifying &lt;code&gt;-F&lt;/code&gt;:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;ssh lima-default
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;This configuration is notably useful for the Remote Development mode of &lt;a href="https://deploy-preview-5702--lima-vm.netlify.app/docs/examples/vscode/"&gt;Visual Studio Code&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Automatic Startup</title><link>https://deploy-preview-5702--lima-vm.netlify.app/docs/usage/autostart/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://deploy-preview-5702--lima-vm.netlify.app/docs/usage/autostart/</guid><description>&lt;table&gt;
	&lt;thead&gt;
			&lt;tr&gt;
					&lt;th&gt;⚡ Requirement&lt;/th&gt;
					&lt;th&gt;Lima &amp;gt;= 2.2&lt;/th&gt;
			&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tbody&gt;
	&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Lima instances can be registered to start automatically using &lt;code&gt;limactl autostart&lt;/code&gt;.
Two conditions are supported: &lt;code&gt;login&lt;/code&gt; (start when the user logs in) and &lt;code&gt;boot&lt;/code&gt;
(start at system boot, before any user session). This replaces the older
&lt;code&gt;limactl start-at-login&lt;/code&gt; command, which is deprecated as of Lima v2.2.&lt;/p&gt;
&lt;h2 id="starting-instances-automatically"&gt;Starting instances automatically&lt;/h2&gt;
&lt;p&gt;Use &lt;code&gt;limactl autostart enable&lt;/code&gt; to register a Lima instance to start automatically.
Use &lt;code&gt;limactl autostart disable&lt;/code&gt; to remove the registration.&lt;/p&gt;</description></item></channel></rss>