Skip to content

Commit cffa864

Browse files
authored
Extract podman ssh key (#828)
Pull in the root podman ssh key by invoking podman system connection Signed-off-by: Aidan Delaney <[email protected]>
1 parent c5243ea commit cffa864

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

data/podman/setup.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
7676
1. Add the SSH key for the podman VM to your keychain:
7777
```shell=zsh
78-
ssh-add -k "$HOME/.ssh/podman-machine-default"
78+
ssh-add -k $(podman system connection list --format="{{.URI}} {{.Identity}}" | grep root | cut -d' ' -f2)
7979
```
8080
2. Change default connection to use `root`:
8181
```shell=zsh

0 commit comments

Comments
 (0)