Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions content/Debugging.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ With this following `ssh-config`, enter the VM. The IP can be found with `crc ip
`~/.ssh/config`
```ssh-config
Host crc
Hostname 192.168.130.11
Hostname 127.0.0.1
Port 2222
User core
IdentityFile ~/.crc/machines/crc/id_ecdsa
IdentityFile ~/.crc/machines/crc/id_ed25519
Expand All @@ -21,14 +22,15 @@ Host crc

```

If you use vsock network mode, the IP is 127.0.0.1 and the port is 2222.
Note: If you use system network mode (only supported for Linux), the IP is 192.168.130.11 and the port is 22.

On Windows, the relevant SSH keys is in `C:\Users\%USERNAME%\.crc\machines\crc\id_ed25519`

You can also run directly this command:

#### Linux
```bash
$ ssh -i ~/.crc/machines/crc/id_ed25519 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null core@192.168.130.11
$ ssh -i ~/.crc/machines/crc/id_ed25519 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -p 2222 core@127.0.0.1
```

#### MacOS
Expand Down Expand Up @@ -107,4 +109,4 @@ CONTAINER IMAGE
```

> [!NOTE]
> The first container started 15min ago where almost all containers started few hours ago. This is suspicious.
> The first container started 15min ago where almost all containers started few hours ago. This is suspicious.