You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to switch my podman machine into fips mode, and I think I'm close but enabling fips mode causes podman machine ssh to stop working, I think this is because fips-enabling the machine changes the ssh keys.
$ podman machine ssh
> sudo rpm-ostree install fips-mode-setup
> exit
$ podman machine stop; podman-machine start
$ podman machine ssh
> sudo fips-mode-setup --enable --no-bootcfg
> sudo rpm-ostree kargs --append-if-missing=fips=1
> exit
$ podman machine stop; podman-machine start
Error: machine did not transition into running state: ssh error: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none publickey], no supported methods remain
$ podman machine ssh
Connecting to vm podman-machine-default. To close connection, use `~.` or `exit`
core@localhost: Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to switch my podman machine into fips mode, and I think I'm close but enabling fips mode causes
podman machine ssh
to stop working, I think this is because fips-enabling the machine changes the ssh keys.Does anyone have ideas on how to fix this?
Beta Was this translation helpful? Give feedback.
All reactions