Skip to content

Instantly share code, notes, and snippets.

@adrianriobo
Last active February 16, 2023 10:24
Show Gist options
  • Save adrianriobo/947e728c68b842f3a8191d8789173b94 to your computer and use it in GitHub Desktop.
Save adrianriobo/947e728c68b842f3a8191d8789173b94 to your computer and use it in GitHub Desktop.
podman key
macmini-crcqe-2:~ crcqe$ cat ~/.ssh/known_hosts
macmini-crcqe-2:~ crcqe$ ssh -i ~/.crc/machines/crc/id_ecdsa core@127.0.0.1 -p 2222
The authenticity of host '[127.0.0.1]:2222 ([127.0.0.1]:2222)' can't be established.
ED25519 key fingerprint is SHA256:jfbXiEwqxZcVKLW/biuNolLr80NfNuJuOdr3jmI9Xl4.
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '[127.0.0.1]:2222' (ED25519) to the list of known hosts.
Fedora CoreOS 37.20221225.3.0
Activate the web console with: systemctl enable --now cockpit.socket
Tracker: https://github.com/coreos/fedora-coreos-tracker
Discuss: https://discussion.fedoraproject.org/tag/coreos
Last login: Thu Feb 16 09:50:38 2023 from 192.168.127.1
[core@podman ~]$
logout
Connection to 127.0.0.1 closed.
macmini-crcqe-2:~ crcqe$ cat ~/.ssh/known_hosts
[127.0.0.1]:2222 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGXL2Mvz84qpYu98v1/qU2Ew977pMsz6IWGqQERwRV+T
[127.0.0.1]:2222 ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCrsYBExgRpe96MIl86YH7fmzB46q8Npqq1iSCuw8jVqs9k4RUSUZPpZyP/qQH6p5Vk4eFV2CE1z+4P5dix/bJWbtidZYfsHxE0l12qz8ZVORI3nG9/Szs+q0zGkawCZb6QhOWUJBO9rMwbx9kDtdinBSoSzP44qWdopc2or1qJQIm7c8UnkLFPSEX+L7+vYpkdJzibhm83/w9OayPwnlKsQZTijVQb6mYelCduLLHYghF0EB5Byw4onNDZoXtZ+08VudXImy5rn+HjuEWeycLyA6LlbDFjcccqTp5Z0eYwLIKIXDB5Ng169+pR9VAVg5321+uD+nHq1zv4kjI9kZ3zLXHShdtiq1JUo/f4GDm2PODfYMBN2Tmtpwf/DMFuypzL183mKPQiu76zBAlw6iCugPuqxXL/mGzkPQK5WXqjcZ6opHOC4K/ifIjFJZ7v3kvYmZV+5WUTlAmb1gjTVcEpxlf8qPbvrDF5ZEn/uBAyOp/S77YZnXYoxAzrzd4Bgyc=
[127.0.0.1]:2222 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBOTJnWNfvLxPNMyDTXZuZpONH+DIDI3RuWFBE0hqHBRRz9vVw2b9fP0SrlAc9YgiyWiohcPmsRHLkF70+cMyRsI=
macmini-crcqe-2:~ crcqe$ eval $(crc podman-env)
macmini-crcqe-2:~ crcqe$ podman version
Client: Podman Engine
Version: 4.3.1
API Version: 4.3.1
Go Version: go1.17.1
Git Commit: 814b7b003cc630bf6ab188274706c383f9fb9915
Built: Thu Nov 10 15:17:53 2022
OS/Arch: darwin/amd64
Server: Podman Engine
Version: 4.3.1
API Version: 4.3.1
Go Version: go1.19.2
Built: Fri Nov 11 16:01:27 2022
OS/Arch: linux/amd64
macmini-crcqe-2:~ crcqe$ rm ~/.ssh/known_hosts
macmini-crcqe-2:~ crcqe$ touch ~/.ssh/known_hosts
macmini-crcqe-2:~ crcqe$ cat ~/.ssh/known_hosts
macmini-crcqe-2:~ crcqe$ podman version
Client: Podman Engine
Version: 4.3.1
API Version: 4.3.1
Go Version: go1.17.1
Git Commit: 814b7b003cc630bf6ab188274706c383f9fb9915
Built: Thu Nov 10 15:17:53 2022
OS/Arch: darwin/amd64
Server: Podman Engine
Version: 4.3.1
API Version: 4.3.1
Go Version: go1.19.2
Built: Fri Nov 11 16:01:27 2022
OS/Arch: linux/amd64
macmini-crcqe-2:~ crcqe$ cat ~/.ssh/known_hosts
[127.0.0.1]:2222 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBOTJnWNfvLxPNMyDTXZuZpONH+DIDI3RuWFBE0hqHBRRz9vVw2b9fP0SrlAc9YgiyWiohcPmsRHLkF70+cMyRsI=
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment