-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from praveenkumar/update-pub-key
Debugging: Update private key from id_ecdsa to id_ed25519
- Loading branch information
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
Host crc | ||
Hostname 192.168.130.11 | ||
User core | ||
IdentityFile ~/.crc/machines/crc/id_rsa | ||
IdentityFile ~/.crc/machines/crc/id_ecdsa | ||
IdentityFile ~/.crc/machines/crc/id_ed25519 | ||
StrictHostKeyChecking no | ||
UserKnownHostsFile /dev/null | ||
``` | ||
|
||
If you use vsock network mode, the IP is 127.0.0.1 and the port is 2222. | ||
On Windows, the relevant SSH keys is in `C:\Users\%USERNAME%\.crc\machines\crc\id_ecdsa` | ||
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_ecdsa -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null [email protected] | ||
$ ssh -i ~/.crc/machines/crc/id_ed25519 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null [email protected] | ||
``` | ||
|
||
#### MacOS | ||
```bash | ||
$ ssh -i ~/.crc/machines/crc/id_ecdsa -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -p 2222 [email protected] | ||
$ ssh -i ~/.crc/machines/crc/id_ed25519 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -p 2222 [email protected] | ||
``` | ||
|
||
#### Windows | ||
```powershell | ||
PS> ssh -i C:\Users\$env:USERNAME\.crc\machines\crc\id_ecdsa -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -p 2222 [email protected] | ||
PS> ssh -i C:\Users\$env:USERNAME\.crc\machines\crc\id_ed25519 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -p 2222 [email protected] | ||
``` | ||
|
||
## Checking the status of the VM | ||
|