spiegel_podman/pkg/machine
Jake Correnti b01a330d37 Use single persistent ssh key for all machines
Changes SSH key behavior such that there is a single persisted key for all
machines across all providers. If there is no key that is located at
`.local/share/containers/podman/machine/` then it is created. The keys are
not deleted when the last machine on the host is removed.

The main motivation for this change is it leads to fewer files created on the
host as a result of vm configuration. Having `n` machines on your system doesn't
result in `2n` machine-related files in `.ssh` on your system anymore.

As a result of ssh keys being persisted by default, the `--save-keys` flag
on `podman machine rm` will no longer be supported.

Signed-off-by: Jake Correnti <jakecorrenti+github@proton.me>
2024-01-04 23:47:49 -05:00
..
applehv Use single persistent ssh key for all machines 2024-01-04 23:47:49 -05:00
compression Refactor key machine objects 2023-11-07 08:30:44 -06:00
define Use single persistent ssh key for all machines 2024-01-04 23:47:49 -05:00
e2e Use single persistent ssh key for all machines 2024-01-04 23:47:49 -05:00
hyperv Use single persistent ssh key for all machines 2024-01-04 23:47:49 -05:00
ignition Use parser.UnitFile 2024-01-04 08:51:35 -05:00
ocipull podman machine image from oci updates 2023-11-22 13:21:24 -06:00
os chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
provider Create pkg/machine/ignition package 2024-01-04 08:51:35 -05:00
qemu Use single persistent ssh key for all machines 2024-01-04 23:47:49 -05:00
sockets Podman 5 machine config file - Step 1 2023-12-11 16:26:15 -06:00
vmconfigs Podman 5 machine config file - Step 1 2023-12-11 16:26:15 -06:00
wsl Use single persistent ssh key for all machines 2024-01-04 23:47:49 -05:00
cleanup.go Machine: Teardown on init failure 2023-10-12 09:26:06 -04:00
config.go Use single persistent ssh key for all machines 2024-01-04 23:47:49 -05:00
config_test.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
connection.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
errors.go Various updates for hyperv and machine e2e tests 2023-09-21 08:52:02 -05:00
fcos.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
fcos_test.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
fedora_unix.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
fedora_windows.go WSL refactoring 2023-01-23 10:48:32 -06:00
gvproxy.go Refactor key machine objects 2023-11-07 08:30:44 -06:00
keys.go Use single persistent ssh key for all machines 2024-01-04 23:47:49 -05:00
machine_common.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
machine_unix.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
machine_unsupported.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
machine_windows.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
ports.go Implement automatic port reassignment on Windows 2023-08-21 07:23:31 -05:00
ports_unix.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
ports_windows.go Implement automatic port reassignment on Windows 2023-08-21 07:23:31 -05:00
pull.go Create pkg/machine/ignition package 2024-01-04 08:51:35 -05:00
ssh.go fix(ssh): start machine failed to start with exit status 255 2023-06-16 19:39:38 +08:00
update.go Create pkg/machine/ignition package 2024-01-04 08:51:35 -05:00
volumes.go Podman 5 machine config file - Step 1 2023-12-11 16:26:15 -06:00