File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -14,31 +14,31 @@ With this following `ssh-config`, enter the VM. The IP can be found with `crc ip
1414Host crc
1515 Hostname 192.168.130.11
1616 User core
17- IdentityFile ~/.crc/machines/crc/id_rsa
1817 IdentityFile ~/.crc/machines/crc/id_ecdsa
18+ IdentityFile ~/.crc/machines/crc/id_ed25519
1919 StrictHostKeyChecking no
2020 UserKnownHostsFile /dev/null
2121
2222```
2323
2424If you use vsock network mode, the IP is 127.0.0.1 and the port is 2222.
25- On Windows, the relevant SSH keys is in ` C:\Users\%USERNAME%\.crc\machines\crc\id_ecdsa `
25+ On Windows, the relevant SSH keys is in ` C:\Users\%USERNAME%\.crc\machines\crc\id_ed25519 `
2626
2727You can also run directly this command:
2828
2929#### Linux
3030``` bash
31- $ ssh -i ~ /.crc/machines/crc/id_ecdsa -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null core@192.168.130.11
31+ $ ssh -i ~ /.crc/machines/crc/id_ed25519 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null core@192.168.130.11
3232```
3333
3434#### MacOS
3535``` bash
36- $ ssh -i ~ /.crc/machines/crc/id_ecdsa -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -p 2222 core@127.0.0.1
36+ $ ssh -i ~ /.crc/machines/crc/id_ed25519 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -p 2222 core@127.0.0.1
3737```
3838
3939#### Windows
4040``` powershell
41- PS> ssh -i C:\Users\$env:USERNAME\.crc\machines\crc\id_ecdsa -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -p 2222 core@127.0.0.1
41+ PS> ssh -i C:\Users\$env:USERNAME\.crc\machines\crc\id_ed25519 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -p 2222 core@127.0.0.1
4242```
4343
4444## Checking the status of the VM
You can’t perform that action at this time.
0 commit comments