@@ -964,21 +964,20 @@ <h2 id="access-the-vm"><a class="header" href="#access-the-vm">Access the VM</a>
964964With 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.
976978On 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 />
23802379Run < code > crc delete</ code > , < code > crc cleanup</ code > and remove the folder < code > $HOME/.crc</ code > </ li >
0 commit comments