Skip to content

Commit 1af4e66

Browse files
committed
deploy: 7e55a2f
1 parent 22845fd commit 1af4e66

File tree

3 files changed

+13
-15
lines changed

3 files changed

+13
-15
lines changed

Debugging.html

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -399,21 +399,20 @@ <h2 id="access-the-vm"><a class="header" href="#access-the-vm">Access the VM</a>
399399
With this following <code>ssh-config</code>, enter the VM. The IP can be found with <code>crc ip</code>.</p>
400400
<p><code>~/.ssh/config</code></p>
401401
<pre><code class="language-ssh-config">Host crc
402-
Hostname 192.168.130.11
402+
Hostname 127.0.0.1
403+
Port 2222
403404
User core
404405
IdentityFile ~/.crc/machines/crc/id_ecdsa
405406
IdentityFile ~/.crc/machines/crc/id_ed25519
406407
StrictHostKeyChecking no
407408
UserKnownHostsFile /dev/null
408409

409410
</code></pre>
410-
<p>If you use vsock network mode, the IP is 127.0.0.1 and the port is 2222.
411+
<p>If you use user network mode, the IP is 127.0.0.1 and the port is 2222.
412+
If you use system network mode on Linux, the IP is 192.168.130.1 and the port is 22.
411413
On Windows, the relevant SSH keys is in <code>C:\Users\%USERNAME%\.crc\machines\crc\id_ed25519</code></p>
412414
<p>You can also run directly this command:</p>
413-
<h4 id="linux"><a class="header" href="#linux">Linux</a></h4>
414-
<pre><code class="language-bash">$ ssh -i ~/.crc/machines/crc/id_ed25519 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null core@192.168.130.11
415-
</code></pre>
416-
<h4 id="macos"><a class="header" href="#macos">MacOS</a></h4>
415+
<h4 id="linuxmacos"><a class="header" href="#linuxmacos">Linux/macOS</a></h4>
417416
<pre><code class="language-bash">$ ssh -i ~/.crc/machines/crc/id_ed25519 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -p 2222 core@127.0.0.1
418417
</code></pre>
419418
<h4 id="windows"><a class="header" href="#windows">Windows</a></h4>

print.html

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -964,21 +964,20 @@ <h2 id="access-the-vm"><a class="header" href="#access-the-vm">Access the VM</a>
964964
With this following <code>ssh-config</code>, enter the VM. The IP can be found with <code>crc ip</code>.</p>
965965
<p><code>~/.ssh/config</code></p>
966966
<pre><code class="language-ssh-config">Host crc
967-
Hostname 192.168.130.11
967+
Hostname 127.0.0.1
968+
Port 2222
968969
User core
969970
IdentityFile ~/.crc/machines/crc/id_ecdsa
970971
IdentityFile ~/.crc/machines/crc/id_ed25519
971972
StrictHostKeyChecking no
972973
UserKnownHostsFile /dev/null
973974

974975
</code></pre>
975-
<p>If you use vsock network mode, the IP is 127.0.0.1 and the port is 2222.
976+
<p>If you use user network mode, the IP is 127.0.0.1 and the port is 2222.
977+
If you use system network mode on Linux, the IP is 192.168.130.1 and the port is 22.
976978
On Windows, the relevant SSH keys is in <code>C:\Users\%USERNAME%\.crc\machines\crc\id_ed25519</code></p>
977979
<p>You can also run directly this command:</p>
978-
<h4 id="linux"><a class="header" href="#linux">Linux</a></h4>
979-
<pre><code class="language-bash">$ ssh -i ~/.crc/machines/crc/id_ed25519 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null core@192.168.130.11
980-
</code></pre>
981-
<h4 id="macos"><a class="header" href="#macos">MacOS</a></h4>
980+
<h4 id="linuxmacos"><a class="header" href="#linuxmacos">Linux/macOS</a></h4>
982981
<pre><code class="language-bash">$ ssh -i ~/.crc/machines/crc/id_ed25519 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -p 2222 core@127.0.0.1
983982
</code></pre>
984983
<h4 id="windows"><a class="header" href="#windows">Windows</a></h4>
@@ -2368,13 +2367,13 @@ <h1 id="user-mode-networking-stack"><a class="header" href="#user-mode-networkin
23682367
<h2 id="instructions-1"><a class="header" href="#instructions-1">Instructions</a></h2>
23692368
<h3 id="windows-1"><a class="header" href="#windows-1">Windows</a></h3>
23702369
<p>Since 1.32.1, the default network mode is usermode.</p>
2371-
<h3 id="macos-1"><a class="header" href="#macos-1">macOS</a></h3>
2370+
<h3 id="macos"><a class="header" href="#macos">macOS</a></h3>
23722371
<p>Since 1.26.0, the default network mode is usermode.</p>
23732372
<ul>
23742373
<li>Run the tray application</li>
23752374
<li>Click start or run <code>crc start</code></li>
23762375
</ul>
2377-
<h3 id="linux-1"><a class="header" href="#linux-1">Linux</a></h3>
2376+
<h3 id="linux"><a class="header" href="#linux">Linux</a></h3>
23782377
<ul>
23792378
<li>Cleanup the previous installation of crc.<br />
23802379
Run <code>crc delete</code>, <code>crc cleanup</code> and remove the folder <code>$HOME/.crc</code></li>

searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)