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
>podman info
OS: darwin/arm64
buildOrigin: brew
provider: applehv
version: 5.4.0
Cannot connect to Podman. Please verify your connection to the Linux system using `podman system connection list`, or try `podman machine init` and `podman machine start` to manage a new Linux VM
Error: unable to connect to Podman socket: knownhosts: /Users/xx/.ssh/known_hosts:4: knownhosts: missing key type pattern
Describe the results you expected
>podman info
podman info
Client:
APIVersion: 5.4.0
BuildOrigin: brew
Built: 1739290083
BuiltTime: Tue Feb 11 17:08:03 2025
[...]
podman info output
Client:
APIVersion: 5.4.0BuildOrigin: brewBuilt: 1739290083BuiltTime: Tue Feb 11 17:08:03 2025GitCommit: ""GoVersion: go1.23.6Os: darwinOsArch: darwin/arm64Version: 5.4.0host:
arch: arm64buildahVersion: 1.39.0cgroupControllers:
- cpuset
- cpu
- io
- memory
- pids
- rdma
- misccgroupManager: systemdcgroupVersion: v2conmon:
package: conmon-2.1.12-3.fc41.aarch64path: /usr/bin/conmonversion: 'conmon version 2.1.12, commit: 'cpuUtilization:
idlePercent: 99.53systemPercent: 0.23userPercent: 0.25cpus: 2databaseBackend: sqlitedistribution:
distribution: fedoravariant: coreosversion: "41"eventLogger: journaldfreeLocks: 2047hostname: localhost.localdomainidMappings:
gidmap: nulluidmap: nullkernel: 6.12.9-200.fc41.aarch64linkmode: dynamiclogDriver: journaldmemFree: 3255861248memTotal: 3791171584networkBackend: netavarknetworkBackendInfo:
backend: netavarkdns:
package: aardvark-dns-1.13.1-1.fc41.aarch64path: /usr/libexec/podman/aardvark-dnsversion: aardvark-dns 1.13.1package: netavark-1.13.1-1.fc41.aarch64path: /usr/libexec/podman/netavarkversion: netavark 1.13.1ociRuntime:
name: crunpackage: crun-1.19.1-1.fc41.aarch64path: /usr/bin/crunversion: |- crun version 1.19.1 commit: 3e32a70c93f5aa5fea69b50256cca7fd4aa23c80 rundir: /run/crun spec: 1.0.0 +SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +CRIU +LIBKRUN +WASM:wasmedge +YAJLos: linuxpasta:
executable: /usr/bin/pastapackage: passt-0^20241211.g09478d5-1.fc41.aarch64version: | pasta 0^20241211.g09478d5-1.fc41.aarch64-pasta Copyright Red Hat GNU General Public License, version 2 or later <https://www.gnu.org/licenses/old-licenses/gpl-2.0.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.remoteSocket:
exists: truepath: unix:///run/podman/podman.sockrootlessNetworkCmd: pastasecurity:
apparmorEnabled: falsecapabilities: CAP_CHOWN,CAP_DAC_OVERRIDE,CAP_FOWNER,CAP_FSETID,CAP_KILL,CAP_NET_BIND_SERVICE,CAP_SETFCAP,CAP_SETGID,CAP_SETPCAP,CAP_SETUID,CAP_SYS_CHROOTrootless: falseseccompEnabled: trueseccompProfilePath: /usr/share/containers/seccomp.jsonselinuxEnabled: trueserviceIsRemote: trueslirp4netns:
executable: /usr/bin/slirp4netnspackage: slirp4netns-1.3.1-1.fc41.aarch64version: |- slirp4netns version 1.3.1 commit: e5e368c4f5db6ae75c2fce786e31eef9da6bf236 libslirp: 4.8.0 SLIRP_CONFIG_VERSION_MAX: 5 libseccomp: 2.5.5swapFree: 0swapTotal: 0uptime: 1h 32m 32.00s (Approximately 0.04 days)variant: v8plugins:
authorization: nulllog:
- k8s-file
- none
- passthrough
- journaldnetwork:
- bridge
- macvlan
- ipvlanvolume:
- localregistries:
search:
- docker.iostore:
configFile: /usr/share/containers/storage.confcontainerStore:
number: 1paused: 0running: 0stopped: 1graphDriverName: overlaygraphOptions:
overlay.additionalImageStores:
- /usr/lib/containers/storageoverlay.imagestore: /usr/lib/containers/storageoverlay.mountopt: nodev,metacopy=ongraphRoot: /var/lib/containers/storagegraphRootAllocated: 93531090944graphRootUsed: 3995615232graphStatus:
Backing Filesystem: xfsNative Overlay Diff: "false"Supports d_type: "true"Supports shifting: "true"Supports volatile: "true"Using metacopy: "true"imageCopyTmpDir: /var/tmpimageStore:
number: 1runRoot: /run/containers/storagetransientStore: falsevolumePath: /var/lib/containers/storage/volumesversion:
APIVersion: 5.4.0BuildOrigin: Fedora ProjectBuilt: 1739232000BuiltTime: Tue Feb 11 01:00:00 2025GitCommit: ""GoVersion: go1.23.5Os: linuxOsArch: linux/arm64Version: 5.4.0
Podman in a container
No
Privileged Or Rootless
None
Upstream Latest Release
Yes
Additional environment details
Additional environment details
Additional information
Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting
The text was updated successfully, but these errors were encountered:
Luap99
changed the title
podman info fails when .ssh/known_hosts contains outdated ciphers
podman remote fails when .ssh/known_hosts contains outdated ciphers
Feb 14, 2025
It looks like you installed podman from Homebrew. Can you try installing from the pkginstaller and see if that works? Installing from Homebrew is not a supported method. Thanks!
podman info
OS: darwin/arm64
buildOrigin: pkginstaller
provider: applehv
version: 5.4.0
Cannot connect to Podman. Please verify your connection to the Linux system using `podman system connection list`, or try `podman machine init` and `podman machine start` to manage a new Linux VM
Error: unable to connect to Podman socket: knownhosts: /Users/xx/.ssh/known_hosts:1: knownhosts: missing key type pattern
I also get this error now.
Fun thing though - it worked earlier today on the same version 5.3.2 from brew.
Now it does not work on either 5.3.2 or 5.4.0 from pkginstaller
Edit: it works when I removed known_hosts and reconnected and accepted. Did not keep track of before values unfortunately. Key has been the same ed25519 all the time
it adds 3 lines to known hosts:
192.168.1.2 ssh-ed25519
192.168.1.2 ssh-rsa
192.168.1.2 ecdsa-sha2-nistp256
Issue Description
podman info fails when .ssh/known_hosts contains unknown ciphers
Steps to reproduce the issue
Steps to reproduce the issue
add an unknown cipher to .ssh/known_hosts (e.g. for macOS 15 192.168.10.10 SHA256:sv4XrPwL60H)
run podman info
Expected: Unknown Ciphers skipped
Real: Error above
Describe the results you received
Describe the results you expected
podman info output
Podman in a container
No
Privileged Or Rootless
None
Upstream Latest Release
Yes
Additional environment details
Additional environment details
Additional information
Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting
The text was updated successfully, but these errors were encountered: