Boa tarde,
Na aula, quando vou fazer SSH da a mensagem abaixo.
Mensagem: d:\ambiente_dev\bionic>vagrant ssh vagrant@127.0.0.1: Permission denied (publickey).
d:\ambiente_dev\bionic>
Segue aqui o codigo vagrandfile. Vagrant.configure("2") do |config| config.vm.box = "ubuntu/bionic64" end
LOG
ubuntu-bionic login: [ 23.312302] cloud-init[1267]: Cloud-init v. 21.1-19-gbad84ad4-0ubuntu118.04.1 running 'modules:config' at Wed, 28 Apr 2021 16:17:01 +0000. Up 22.50 seconds.
ci-info: no authorized SSH keys fingerprints found for user ubuntu.
<14>Apr 28 16:17:04 ec2:
<14>Apr 28 16:17:04 ec2: #############################################################
<14>Apr 28 16:17:04 ec2: -----BEGIN SSH HOST KEY FINGERPRINTS-----
<14>Apr 28 16:17:04 ec2: 1024 SHA256:7GgKAOlnxRIeknB2TWyB8M4qQwo7eu6kx44n5n/pj94 root@ubuntu-bionic (DSA)
<14>Apr 28 16:17:04 ec2: 256 SHA256:4AwyKmQTxw8UKE6et6hJREps9EmIANY+5GZMfdAWH64 root@ubuntu-bionic (ECDSA)
<14>Apr 28 16:17:04 ec2: 256 SHA256:TEQzF1FIdqjrNeo5qu0ev8SH3rwHp6Sh+yZZ8VS01lg root@ubuntu-bionic (ED25519)
<14>Apr 28 16:17:04 ec2: 2048 SHA256:Okm3fi6MxYaZyLwBWBxd0KdDidyfIkzQIyCi2i27zTc root@ubuntu-bionic (RSA)
<14>Apr 28 16:17:04 ec2: -----END SSH HOST KEY FINGERPRINTS-----
<14>Apr 28 16:17:04 ec2: #############################################################
-----BEGIN SSH HOST KEY KEYS-----
ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBCvzaiEyMZbgvkBkdP+637Y1W//yirTa4E8gX2iL/wgmLb+VdCnwEUtdOPVhBhJS4cSeXbjvog/BMBUsKbr+YAE= root@ubuntu-bionic
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIH7c4dAW8qkv7AvQLbNVIEX9/bj4FHCNUYPAwa0h1ofI root@ubuntu-bionic
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDNeeLQnNGfGfB0qt8/n1vjcFcnfPd0F5sSimxBvvwwmNZ2dUheZwrFm07DfvLDeDmHQY10kcbKOOod9XqGbkwEGm2JDWCvWuRYNa8dBe7iajzAbXblt9xSUdy909V02ngWC9CHVtd60Phzxfjy6p3j4fCH0EGgCNnC3dE/zer5i4AAKgFHLTLm9o2+DyLgcirFJvBzd286EO87D4IXPovrfYqpGOVohLb+Rr2zFmOgot89T7HXdkbDt7GgvQ0rdZQeg6Qv7ia1TGCDtEMycZbbLBypgLvSSWBscuL8GxYvWkhOnL+2fOtnVRE5mupuBzvhixzQdTw01G3CEIRBhXu/ root@ubuntu-bionic
-----END SSH HOST KEY KEYS-----
[ 24.709851] cloud-init[1432]: Cloud-init v. 21.1-19-gbad84ad4-0ubuntu118.04.1 running 'modules:final' at Wed, 28 Apr 2021 16:17:03 +0000. Up 24.31 seconds.
[ 24.710168] cloud-init[1432]: ci-info: no authorized SSH keys fingerprints found for user ubuntu.
[ 24.715300] cloud-init[1432]: Cloud-init v. 21.1-19-gbad84ad4-0ubuntu1~18.04.1 finished at Wed, 28 Apr 2021 16:17:04 +0000. Datasource DataSourceNoCloud [seed=/dev/sdb][dsmode=net]. Up 24.68 seconds