Skip to content

Commit fdf6cd5

Browse files
authored
Merge pull request #14 from praveenkumar/update-pub-key
Debugging: Update private key from id_ecdsa to id_ed25519
2 parents 980d62f + 058ab8b commit fdf6cd5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

content/Debugging.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -14,31 +14,31 @@ With this following `ssh-config`, enter the VM. The IP can be found with `crc ip
1414
Host 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

2424
If 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

2727
You 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 [email protected]
31+
$ ssh -i ~/.crc/machines/crc/id_ed25519 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null [email protected]
3232
```
3333

3434
#### MacOS
3535
```bash
36-
$ ssh -i ~/.crc/machines/crc/id_ecdsa -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -p 2222 [email protected]
36+
$ ssh -i ~/.crc/machines/crc/id_ed25519 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -p 2222 [email protected]
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 [email protected]
41+
PS> ssh -i C:\Users\$env:USERNAME\.crc\machines\crc\id_ed25519 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -p 2222 [email protected]
4242
```
4343

4444
## Checking the status of the VM

0 commit comments

Comments
 (0)