
Von meinem Playbook-Ordner aus führe ich
vagrant up
Vagrantfile ist einfach
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/focal64"
end
Ich kann meinen Schlüssel nicht kopieren
ssh-copy-id [email protected] -p 2200
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed
/usr/bin/ssh-copy-id: INFO: 3 key(s) remain to be installed -- if you are prompted now it is to install the new keys
[email protected]: Permission denied (publickey).
Ich kann auf diese Weise ssh
ssh [email protected] -p 2200 -i .vagrant/machines/default/virtualbox/private_key
dann habe ich authorized_keys (auf vagrant@ubuntu-focal) überprüft
cat authorized_keys
ssh-rsa AAAAB3NzaC1yc2E************* vagrant
Wie finde ich heraus, wie ssh-rsa erstellt wird?